01-24-2008 11:23 PM - edited 03-05-2019 08:42 PM
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
01-24-2008 11:34 PM
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
01-25-2008 12:16 AM
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 :)
01-25-2008 02:59 PM
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.
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: