Exemple #1
0
 /**
  * Using forward agent to authentication
  *
  * @return Builder
  */
 public function forwardAgent()
 {
     $this->config->setAuthenticationMethod(Configuration::AUTH_BY_AGENT);
     return $this;
 }
Exemple #2
0
 /**
  * Use pty in ssh2 connection
  *
  * @param $ssh2Pty
  * @return BuilderInterface
  */
 public function ssh2Pty($ssh2Pty)
 {
     $this->config->setSsh2Pty($ssh2Pty);
     return $this;
 }