예제 #1
0
 /**
  * Using forward agent to authentication
  *
  * @return Builder
  */
 public function forwardAgent()
 {
     $this->config->setAuthenticationMethod(Configuration::AUTH_BY_AGENT);
     return $this;
 }
예제 #2
0
파일: Builder.php 프로젝트: elfet/deployer
 /**
  * Use pty in ssh2 connection
  *
  * @param $ssh2Pty
  * @return BuilderInterface
  */
 public function ssh2Pty($ssh2Pty)
 {
     $this->config->setSsh2Pty($ssh2Pty);
     return $this;
 }