cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
19156
Views
0
Helpful
4
Replies

ssh error status 0

RMS3
Level 1
Level 1

Hi,

I have a couple of switches configured and when I try to ssh into one switch from another I get the error:

Connection to 1x.x.x.x aborted: error status 0.

I tried connected a PC to the switch port and the remote session and it worked fine.

Could someone explain why this is happening and suggest a solution?

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

Connection to 1x.x.x.x aborted: error status 0.  <-- what is the syntax you used ?

try ssh -l (username) -p xxxx  1x.x.x.x  or ssh -v 2 -l username 1x.x.x.x

Note : make sure the device from you trying  have VTY lines transport output ssh

Other troubleshoot  - is the ping ok ? check on the other end any errors ? (show logging)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

Connection to 1x.x.x.x aborted: error status 0.  <-- what is the syntax you used ?

try ssh -l (username) -p xxxx  1x.x.x.x  or ssh -v 2 -l username 1x.x.x.x

Note : make sure the device from you trying  have VTY lines transport output ssh

Other troubleshoot  - is the ping ok ? check on the other end any errors ? (show logging)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi,

it can be unsupported ssh client functionality on box or mismatching version / ciphers.

What IOS version do you use on the problematic switch? What is device model?

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

I am getting an error but this is due to a cipher mismatch, I think. Correct me if I am wrong, but this shows I can reach 192.168.7.113 from the Core using ssh. I can ssh to it without any problems using Putty from 192.168.7.0

CORE1#ssh -l admin 192.168.7.113
[Connection to 192.168.7.113 aborted: error status 0]

I can ssh from Core1 to another switch

CORE1#ssh -l admin 192.168.7.89
Password:

EDIT. yes, I can

CORE1#telnet 192.168.7.113 22
Trying 192.168.7.113, 22 ... Open
SSH-2.0-Cisco-1.25

 

SSH is NOT the issue. The issue is with routing. I cannot ping/ssh/https reach this AP from another network.