Since version 2013-R3, an overload of the SavePublicKey()
method has been added:
SavePublicKey(string, SshPublicKeyFormat)
SavePublicKey(Stream, SshPublicKeyFormat)
The following formats are supported by the SshPublicKeyFormat
enum:
Ssh2Base64
- Base64-encoded SSH2 public key format.
Ssh2Raw
- Raw SSH2 public key format.