Hi,
We just purchased the Sftp library for .NET and are getting the below exception when calling the Login method of the Rebex Sftp object. The same client code was successful when using the demo version of the Rebex Sftp library.
Our code (VB.NET) looks like this:
Code:
Dim client as Sftp = New Sftp
client.Connect(server, port)
client.Login(userName, password)
Exception:
Rebex.Net.SftpException: Authentication method not supported. Supported methods: 'publickey'. ---> Rebex.Net.SshException: Authentication method not supported. Supported methods: 'publickey'.
at Rebex.Net.SshSession.VXRf6(String , String , Boolean )
at Rebex.Net.SshSession.1QmUCN(String , String , SshPrivateKey , SshGssApiCredentials )
at Rebex.Net.SshSession.Authenticate(String userName, String password, SshPrivateKey privateKey)
at Rebex.Net.Sftp.1J4sBU.2AnnF7(String , String , SshPrivateKey , ZD5WJ )
at Rebex.Net.Sftp.21klJqZ(String , String , SshPrivateKey , ZD5WJ )
--- End of inner exception stack trace ---
at Rebex.Net.Sftp.21klJqZ(String , String , SshPrivateKey , ZD5WJ )
at Rebex.Net.Sftp.Login(String userName, String password)
Your assistance much appreciated,
Ron