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