Menu

#1 Failed to negotiate a transport component [twofish256-cbc]

1.0
open
nobody
None
2015-10-25
2015-10-24
icnocop
No

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.

Discussion

  • icnocop

    icnocop - 2015-10-25

    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

     
  • Ludup

    Ludup - 2015-10-25

    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

     

Log in to post a comment.