ServerKeys Property
The server's SSH keys.
Syntax
public var serverKeys: Array<SSHKey> {
get {...} }
Remarks
Use this property to provide a list of SSH private keys for the server endpoint.
An SSH endpoint needs a private key to be able to accept secure connections. Apart from being employed for the handshake, the key is also used as a unique server identifier.
The collection may include more than one endpoint key. A typical usage scenario is to include two or three keys (ECDSA, RSA, and DSS), to cater for clients with different algorithm preferences.