Unable to access switch via ssh on C2950

Unanswered Question
Sep 2nd, 2008

Hi, I have configure the line for ssh:


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:


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
satish_zanjurne Tue, 09/02/2008 - 06:11

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 Tue, 09/02/2008 - 07:34

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.


This Discussion