I have generated a private key and public key pair.I am trying to authenticate via a sftp server tool
// connect to a server and verify fingerprint
var client = new Sftp();
client.Connect("Test-222");
// load the private key
SshPrivateKey privateKey = new SshPrivateKey(@"\\Test-222\Alex\MyData\my_key.ppk", "key_password");
// log in
client.Login(username, privateKey);
No suitable authentication method is supported. Supported methods: 'password'.