Failed to negotiate a transport component [twofish256-cbc]
Maverick .NET SSH API
Brought to you by:
ludup
Hi.
Thank you for open sourcing Maverick.SSH.
I'm trying to connect to OpenSSH v6.7 running on Windows, but I'm getting the exception:
Maverick.SSH.SSHException: Failed to negotiate a transport component [twofish256-cbc]
Code:
using (SshClient sshClient = new SshClient( "hostname", 22, "username", "password")) { sshClient.Connect(); }
Stack trace:
Maverick.SSH.SSHException: Failed to negotiate a transport component [twofish256-cbc] [chacha20-poly1305@openssh.com] at Maverick.SSH.SSHConnector.Connect(SSHTransport transport, String username, Boolean threaded, SSHContext context, SSHStateListener events)
Any ideas?
Thank you.
The OpenSSH server seems to support these ciphers during key exchange:
aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
Its been a while since I used this code and don't have a workspace to easily review it, but the list of ciphers supported as your your second post does not appear to have any ciphers that Maverick.NET supports. Given we have not updated the code for some years, the server your connecting to apppears to want more modern ciphers, once we have never implemented in Maverick .NET