コード例 #1
0
ファイル: Builder.php プロジェクト: acorncom/deployer
 /**
  * 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;
 }