Laravel\Envoy\ConfigurationParser::getSshConfig PHP Method

getSshConfig() protected method

Get the SSH configuration file instance.
protected getSshConfig ( string $user ) : SSHConfigFile | null
$user string
return SSHConfigFile | null
    protected function getSshConfig($user)
    {
        if (file_exists($path = $this->getHomeDirectory($user) . '/.ssh/config')) {
            return SSHConfigFile::parse($path);
        }
    }