"ssh_exchange_identification: Connection closed by remote host"

  • 0
  • 1
  • Problem
  • Updated 3 years ago
  • Solved
ssh_exchange_identification: Connection closed by remote host is coming while trying ssh to BD-8806 running on 15.3.1.4.

Login through console is available and I do not see any abnormal log.
Can someone please help me to identify the cause and some commands required for troubleshooting?

Thanks
Photo of Harkanwaljeet Singh

Harkanwaljeet Singh

  • 764 Points 500 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 50,114 Points 50k badge 2x thumb
SSH needs to be enabled - could you please post the output of "show management"
Photo of Drew C.

Drew C., Community Manager

  • 40,238 Points 20k badge 2x thumb
If you need to install/enable SSH, check out this article:  How to Obtain and Install EXOS SSH module
Photo of Harkanwaljeet Singh

Harkanwaljeet Singh

  • 764 Points 500 badge 2x thumb
ssh is already enabled. In fact we were using ssh to login for the last two years.

I then enabled telnet from console session and was able to gain access to switch remotely.

the output of show log was a surprise. It was not showing any log of

<Info:AAA.logout>
<Info:AAA.LogSsh>
<Info:AAA.authPass>
<Warn:AAA.authFail>
for the last one week even though we tried multiple times (~20-30 times today).

exsshd process utilization was also fine.

The issue resolved only after restarting the exsshd process. But I now need to present the root cause to customer for which I do not have any clue why it happened.
Photo of Drew C.

Drew C., Community Manager

  • 39,516 Points 20k badge 2x thumb
That's interesting.  I'm glad you were able to get it working, but I'm not sure what may have changed when restarting the process.  If there are no log messages, it is unlikely that GTAC would have enough information to investigate and provide a root cause.
I should mention that EXOS 15.3 reached End-of-Engineering in February of this year, and will reach End-of-Support in Feb 2016.  You may want to begin planning an upgrade :)
Photo of Harkanwaljeet Singh

Harkanwaljeet Singh

  • 764 Points 500 badge 2x thumb
Thanks for the reply. We are already started upgrade to 15.5.4.