Negotiation failed. The connection was closed by the server. ---> ComponentPro.Net.SecureShellException: The connection was closed by the server.

0
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
edited 7/23/2018 2:25:02 PM
asked 7/23/2018 2:15:43 PM
add a comment

1 Answers

0
Please wait for our v7.0 of the SSH FTP component to test again. We have been working very hard to release the v7.0.
 
answered 7/27/2018 8:27:57 AM
  Hi Admin, We are trying to connect to SSH Cisco Switch not to FTP. Thanks ARCOS ADMIN ARCON Support 7/27/2018 8:55:59 AM
  SFTP is an abbreviation for "SSH FTP" Rick Goertzen 7/27/2018 4:31:01 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged c# winforms studio or ask your own question.