public setConfigFile ( string $configFile ) : |
||
$configFile | string | |
return |
public function setConfigFile($configFile)
{
$this->configFile = $this->parseHome($configFile);
return $this;
}
/** * If you use an ssh config file you can user it. * * @param string $file Config file path * * @return Builder */ public function configFile($file = '~/.ssh/config') { $this->config->setAuthenticationMethod(Configuration::AUTH_BY_CONFIG); $this->config->setConfigFile($file); return $this; }