SSH issue with Cisco router

avatar

Can anyone tell me what this error means? I am attempting to connect to a Cisco ISR 4331 C.U.B.E router.


Rebex.Net.SshException: Negotiation failed. The connection was closed by the server. ---> Rebex.Net.SshException: The connection was closed by the server.
at Rebex.Net.SshSession.FGB[Q,B](FZI`2 Q, Int32 B, EZI W, B I, Q L, Q N)
at Rebex.Net.SshSession.FGB[Q,B](FZI`2 Q, B B)
at Rebex.Net.SshSession.SGB(VZI Q)
at Rebex.Net.AZI.I(SshSession Q, Byte[] B, Byte[] W, Byte[] I, Byte[] L, Byte[]& N, Byte[]& V, SshPublicKey& U)
at Rebex.Net.SshSession.ZGB(Byte[] Q)
--- End of inner exception stack trace ---
at Rebex.Net.SshSession.ZGB(Byte[] Q)
at Rebex.Net.SshSession.Negotiate()
at Rebex.Net.Ssh.VXL.ZGB(XXL Q)
at Rebex.Net.Ssh.CA(String Q, Int32 B, SshParameters W, XXL I)
at Rebex.Net.Ssh.AK(String Q, Int32 B, SshParameters W)
at Devolutions.RemoteDesktopManager.Frames.Embedded.FreEmbeddedSshShell.Connect()



I can connect fine with Putty, but I get the above error when attempting to use SSH Shell (Rebex) from within RDM.

All Comments (9)

avatar

Hello,

Could you try to connect to your Cisco device with Putty Entry please.

Do you have the same error ?
What version of RDM are you using.

Best Regards,

David Grandolfo

avatar

Works fine if I use the built-in Putty entry also. I am using RDM 12.0.8.0

avatar

Thanks for your test,

The Rebex entry is a Third-party software. You can try the SSH Shell it's an integrated application code base with putty but without the need of the putty application.

Best Regards,

David Grandolfo

avatar

That option connects but is slow to open and does not automatically close the window when I exit the session. Also, is there a way to permanently hide the toolbar withing the session?

avatar

Could you send us a print screen of your toolbar ?

For the automatic close Go in the properties of your session, in the Advanced tab you could check the box Close on disconnect or error.

When you write it's slow, what is slowing the connection to your cisco ?

Best Regards,

David Grandolfo

avatar

That box is already checked under the Advanced tab. The slowness I am seeing is during the initial connection between session open and when I actually see the SSH "terminal" window. When I open a session, I get a "Loading" splash screen that pops up and it there for about 5 seconds before the session is connected. When using Putty, that delay is not there.

I would be happy to do a webex with you so you can see what I am talking about.

avatar

Hi,

The best way to solve it is to reproduce that problem on our side so the engineer team could solve it. Could you confirm me if you run RDM in 64 bits.

If yes could you try it in 32 bits, that should be your problem for the slowness and the "Close on disconnect" who doesn't work.

Best Regards,

David Grandolfo

avatar

I was running in 64 bit version. I changed to 32bit and the slowness and auto-close were resolved. Still cannot connect via SSH Rebex though.

avatar

SSH Rebex is a third-party application that is not supporting your Cisco device, that's why you have an error on your connection.
You have to use the Putty or SSH Shell .

Best Regards,

David Grandolfo