Methods
getPublicKey() → {String}
Returns a string representing the server's public key in OpenSSH format of the current site.
Returns:
- Type
- String
setPrivateKey(key, password)
Set up the server key for the current site.
Parameters:
Name | Type | Description |
---|---|---|
key |
String | The server's private key in OpenSSH, SSH.com or Putty format. |
password |
String | The password that protects the private key. |