Subject: Negotiation failed. The connection was closed by the server. ---> ComponentPro.Net.SecureShellException: The connection was closed by the server Date: 2018-07-23 14:25:02 From: ARCON Support Source: negotiation-failed-connection-closed-server-componentpro-net-secureshellexception-connection-closed-server ---------------------------------------------------------------------- Hi, we are not able to connect to this server we got error (**Negotiation failed. The connection was closed by the server. ---> ComponentPro.Net.SecureShellException: The connection was closed by the server.**) I have below configuration on ssh switch. router2#sh ip ssh SSH Enabled - version 2.0 Authentication methodszpublickey,keyboard-interactive,password Authentication Publickey Algorithms:x509v3-ssh-rsa,ssh-rsa Hostkey Algorithms:x509v3-ssh-rsa,ssh-rsa Encryption Algorithms:aes128-ctr,aes192-ctr,aes256-ctr MAC Algorithms:hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-sha1-96 KEX Algorithms:diffie-hellman-group-exchange-shal,diffie-hellman-groupl4-sha1 Authentication timeout: 120 secs; Authentication retries: 3 Minimum.expected Diffie Hellman key size : 2048 bits 103 Keys in SECSH format(ssh-rsa, base64 encoded): TP-self-signed-1635529526 ssh-rsa AAAAB3NzaClyc2EAAAADAQABAAABAQDOU3inSaPp68leiPNagXDCHGoéstOKB4eEo5le QVVEOnMUVZOiMqLeéa/ScjKK CdeVoc3s1QPw68ep6thMquer/PPPka/YSNGDnBPOVol4LU€A74 TBhoxéHrquhOpXAXtrpEHaianOcl K/f5r Kv4SULNJSKyranb8SéuROC aLSGw63mskol6brkaM NVchiofzfo5ub7 8KDQUvTKmQ8c4IthZKpBOxVIzmHvY3nwWGSShjOikp6GéngRersGdth2anj 72TjavapKVidl/KLIXiLNX7BbA7erVSxGSogmepwvgNooSr3stqfxéXxx i did application trace and found below result. Ssh(1) [07/23/2018 19:32:42.97] Information - Info: Connecting to 10.10.0.136:22 - Ssh v6.8.40.4119 (Production version). Ssh(1) [07/23/2018 19:32:43.22] Error - Info: ComponentPro.Net.SecureShellException: Negotiation failed. The connection was closed by the server. ---> ComponentPro.Net.SecureShellException: The connection was closed by the server. at ComponentPro.Net.SecureShellConnection.c_EQD[T,U](c_BQD`2 c_KSD, Int32 c_P3D, c_CQD c_A4D, U c_MSD, T c_B4D, T c_C4D) at ComponentPro.Net.SecureShellConnection.c_HQD[T,U](c_BQD`2 c_KSD, U c_MSD) at ComponentPro.Net.SecureShellConnection.c_UWD(c_SWD c_Z5D) at c_RAE.c_YUD(SecureShellConnection c_XDD, Byte[] c_LZD, Byte[] c_NZD, Byte[] c_M4D, Byte[] c_H4D, Byte[]& c_MWA, Byte[]& c_Z4D, SecureShellPublicKey& c_A5D) at ComponentPro.Net.SecureShellConnection.c_YUD(Byte[] c_H4D) --- End of inner exception stack trace --- at ComponentPro.Net.SecureShellConnection.c_YUD(Byte[] c_H4D) at ComponentPro.Net.SecureShellConnection.Negotiate() at ComponentPro.Net.Terminal.SshClient.c_K4E(String c_ROA, Int32 c_PKD, SecureShellConfig c_LJB, AsyncOperation c_DA) Please provide possible solution for this issue. Thanks ARCON Support ---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index