The Maverick.NET SSH API

SSHPrivateKeyFile.ChangePassphrase Method 

Called to change the passphrase of the private key file.

[Visual Basic]
Sub ChangePassphrase( _
   ByVal oldpassphrase As String, _
   ByVal newpassprase As String _
)
[C#]
void ChangePassphrase(
   string oldpassphrase,
   string newpassprase
);

Parameters

oldpassphrase
The old passphrase of the private key file.
newpassprase
The new passphrase for the private key file.

See Also

SSHPrivateKeyFile Interface | Maverick.PublicKey Namespace