cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
72831
Views
5
Helpful
3
Replies

SSH enable on cisco 3560 switch

moorthy1977
Level 1
Level 1

I followed below steps to enable SSH in cisco 3560 switch

Step 1

configure terminal

Step 2

hostname hostname

Step 3

ip domain-name domain_name

Step 4

crypto key generate rsa

After configuration when i ssh on switch it ask for username/password

login as: cisco

cisco@172.16.32.151's password:

Pls suggest how to enable ssh & how to create username/password for ssh on 3560 switch

3 Replies 3

ankbhasi
Cisco Employee
Cisco Employee

Hi Moorthy.

You have to configure username and password on your switch also. Can you post the output of "sh run"?

See if this link helps you

http://www.cisco.com/warp/public/707/ssh.shtml#optional

HTH

Ankur

hi,

as ankur said u need to configure username and password for the switch.

Also issue aaa new-model command then configure username and password otherwise ssh will not get enabled.

To aplly to the telnet sessions use following:

switch(config)#line vty 0 15

switch(config-line)#transport input ssh

HTH,

regards,

shri :)

If you are not using any kind of AAA authentication (tacacs) then you would need a username and password . If you are using AAA then you can set to use AAA and if thats not there it falls back to the line and enable secret passwords.

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: