PHP Class Altax\Util\SSHKey

Show file Open project: kohkimakimoto/altax Class Usage Examples

Public Methods

Method Description
hasPassphrase ( string $keyFile ) : boolean Checking if the keyfile has passphrase.

Method Details

hasPassphrase() public static method

see http://superuser.com/questions/201003/checking-ssh-keys-have-passphrases
public static hasPassphrase ( string $keyFile ) : boolean
$keyFile string SSH key file data
return boolean