cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
800
Views
0
Helpful
9
Replies

SSH Issue from PC to Server through Cisco 4500

ekuvinka
Level 1
Level 1

the user and the pc are on different vlans but they are both connected to the same 4500 switch.

The user said he was able to reach the server at one time.

I can ping the server from the pc.

I cannot ssh from the pc to the server through the 4500.

I can ssh from the 4500 to the server.

There are no ACLs on the 4500.

Any ideas??

Thank you

9 Replies 9

Leo Laohoo
Hall of Fame
Hall of Fame

Can you ssh from your PC to the 4500?

If not, please check for the following commands are present:

line vty 0 15

transport input ssh

or

transport input all

Yes, I can ssh from the PC to the 4500.

glen.grant
VIP Alumni
VIP Alumni

If no acls then the switch should have no bearing . Different SSH versions on the devices ???

the switch is using version 1.99 and i can ssh to the server from there.

only when im on my pc i cant ssh. im on a different vlan than the server, but both my pc and the server are directly connected to the switch and i can ping the server from my pc.

Just to add to the madness, when I do a traceroute from another switch not directly connected to the server, I get a bunch of question marks. I can however ping the server address.

Hi

1. Please let me know whether you are trying to do the ssh to ip address of server or name of the server. If name please try to do with ip address of server.

2. What is the output of this command

telnet 22 if it is blank screen we should check in the sever policies.

I'm using the ip when trying to ssh. I'll check the results of the telnet test when I get to work. What would that test result tell me exactly?

The command telnet 22

is trying to telnet port 22 (ssh).

If you are getting blank screen after u enter this command means there is no problem on your switch and we can start checking the policies on server side.

this is what happens when i try that in a cmd prompt:

telnet XX.XXX.XXX.40 22

Connecting To XX.XXX.X.40...Could not open connection to the host, on port 22:

Connect failed

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco