I tried with Rebex Tiny SFTP Server. I am able to connect on passing username and password. Also possible by passing username,password and privatekey.
client.Login(username,password);
client.Login(username,password,privateKey);
But issue occurs on passing username and private key.
client.Login(username,privateKey);
No suitable authentication method is supported. Supported methods: 'password,keyboard-interactive'.