Disconnected: No supported authentication methods available (server sent: publickey, keyboard-interactive)
If I have to manually accept the key that would be OK but would really like to accept automatically.
Here's me code
.Timeout = New TimeSpan(0, 2, 0) '2 minutes
.Protocol = Protocol.Sftp
.HostName = sIP
.PortNumber = Val(sPort)
.UserName = sUser
.Password = sPassword
.GiveUpSecurityAndAcceptAnySshHostKey = True
Using mysession As Session = New Session
It's failing on the open command. I've been playing with the .addrawsetting option (tried using hostkey instead of AuthKI with same result) . I've been able to connect to win7 machines with this code. Unfortunatly I still need to connect with XP machines for a time. This is on a company network and I'm really only concerned with what is being sent across the wire so I use .GiveUpSecurityAndAcceptAnySshHostKey = True.
Does anyone know how to accept the key automagically? using vb.net
Edit: Attached log