Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Unable to access switch via ssh on C2950

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

Re: Unable to access switch via ssh on C2950

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.

Purple

Re: Unable to access switch via ssh on C2950

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.

599
Views
0
Helpful
2
Replies
CreatePlease to create content