cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
924
Views
0
Helpful
2
Replies

Unable to access switch via ssh on C2950

admin_2
Level 3
Level 3

Hi, I have configure the line for ssh:

i.e.

conf t

line vty 0 15

transport input ssh

When I try to access the switch, I'm refuse.

I do see the option for SSH on the switch, just can't connect via SSH.

version running:

flash:c2950-i6k2l2q4-mz.121-22.EA12.bin

2 Replies 2

satish_zanjurne
Level 4
Level 4

This version of IOS/Image supports SSH v1 & 2

Hope you have generated the SSH Key on switch using following commands.

hostname XYZ

ip domain-name ""

crypto key generate rsa

ip ssh timeout ""

ip ssh authentication-retries ""

use show ip ssh

show ssh

for verification.

glen.grant
VIP Alumni
VIP Alumni

It almost sounds like you are still trying to telnet to the switch. What SSH client are you using to access the switch ? Putty , Tera Term SSH etc... Check to see if the key was configured, "show crypto key my rsa" , and it will show the key.