Property | Type | Description | |
---|---|---|---|
$groups | array | The SSH configuration groups. |
Method | Description | |
---|---|---|
__construct ( array $groups ) : void | Create a new SSH configuration file. | |
findConfiguredHost ( string $host ) : string | null | Get the configured SSH host by name or IP. | |
parse ( string $file ) : |
Parse the given configuration file. | |
parseString ( string $string ) : |
Parse the given configuration string. |
Method | Description | |
---|---|---|
parseHost ( string $host ) : array | Parse the host into user and host segments. |
Method | Description | |
---|---|---|
unquote ( string $string ) : string | Unquote an optionally double quoted string. |
public __construct ( array $groups ) : void | ||
$groups | array | |
return | void |
public static parseString ( string $string ) : |
||
$string | string | |
return |