Method |
Description |
|
__construct ( string $name, string $host, integer $port = 22 ) |
Construct |
|
getAuthenticationMethod ( ) : integer |
Get authentication method |
|
getConfigFile ( ) : string |
Get configuration file |
|
getHost ( ) : string |
Get host for connection |
|
getName ( ) : string |
Get name |
|
getPassPhrase ( ) : string |
Get pass phrase |
|
getPassword ( ) : string |
Get password for connection |
|
getPemFile ( ) : string |
Get pem file |
|
getPort ( ) : integer |
Get port |
|
getPrivateKey ( ) : string |
Get private key |
|
getPublicKey ( ) : string |
Get public key |
|
getSsh2Pty ( ) : mixed |
Get pty option for ssh2 connection |
|
getUser ( ) : string |
Get user |
|
setAuthenticationMethod ( integer $authenticationMethod ) : Configuration |
Set authentication method |
|
setConfigFile ( string $configFile ) : Configuration |
Set configuration file |
|
setHost ( string $host ) : Configuration |
Set host for connection |
|
setName ( string $name ) : Configuration |
Set name |
|
setPassPhrase ( string $passPhrase ) : Configuration |
Set pass phrase |
|
setPassword ( string $password ) : Configuration |
Set password for connection |
|
setPemFile ( string $pemFile ) : Configuration |
To auth with pem file use pemFile() method instead of this. |
|
setPort ( integer $port ) : Configuration |
Set port for connection |
|
setPrivateKey ( string $path ) : Configuration |
Set private key |
|
setPublicKey ( string $path ) : Configuration |
Set public key |
|
setSsh2Pty ( $ssh2Pty ) |
Set pty for ssh2 connection |
|
setUser ( string $user ) : Configuration |
Set user |
|