This is my code using SSH.NET
using (var sftp = new SftpClient(host, username, password))
{
sftp.Connect();
}
It works on a SFTP I installed on my local computer but when I point it at a real SFTP server from a client I get a Renci.SshNet.Common.SshAuthenticationException: No suitable authentication method found to complete authentication.
I cannot find any documentation on what authentication methods I should be using and on File Zilla a simple user name and password is doing the trick.
Can anyone please advise?