SSH to node/cluster mgmt fails with connection reset by peer
Applies to
- ONTAP 9
- SSH
Issue
- SSH via node/cluster mgmt fails with below error
[user@linux ~]$ ssh admin@10.195.xx.xx
ssh_exchange_identification: read: Connection reset by peer
- BMC/SP using the same subnet is accessible
[user@linux ~]$ ssh admin@10.195.xx.xx
The authenticity of host '10.195.xx.xx (10.195.xx.xx)' can't be established.
ECDSA key fingerprint is SHA256:aYMYNzjVR3Lov9Qs6FMAB0tkDx+tAVilqChZz20zEwk.
ECDSA key fingerprint is MD5:6d:b2:b9:d6:52:38:d9:ed:6d:2b:96:03:b9:d4:3f:09.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.195.xx.xx' (ECDSA) to the list of known hosts.
admin@10.195.xx.xx's password:
CLI Revision: v2.0.a
BMC Node>
- From the -vvv output we could see the connect to be established sucessfully, post which the failure occurs during the SSH exchange
C:\Users\admin>ssh -vvv admin@10.195.xx.41
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug3: Failed to open file:C:/Users/naveenkm/.ssh/config error:2
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug2: resolve_canonicalize: hostname 10.195.15.41 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> 'C:\\Users\\admin/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> 'C:\\Users\\admin/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to 10.195.xx.xx [10.195.xx.xx] port 22.
debug1: Connection established.
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug3: recv - from CB(2) ERROR:138, io:000001AD765B5E60
kex_exchange_identification: read: Connection timed out
banner exchange: Connection to 10.195.xx.xx port 22: Connection timed out
- Swapping the IP (Between BMC and node mgmt) aslo results with same failure
