Cisco 2960S enable SSH
Posted: Sun Jan 07, 2024 10:00 pm
1- Give the switch a hostname (hostname xxxxxx)
2- Give the switch a domain name (ip domain-name xxx.com)
3- Create a username and password (username xxxxxxxx password xxxxxx)
4- Use SSH v2 (ip ssh version 2)
5- Generate RSA keys (crypto key generate rsa general-keys modulus 2048)
6- Configure local login on the VTYs (line vty 0 15 (enter) login local)
7 - Allow SSH on the VTYs (line vty 0 15 (enter) transport input ssh)
SSH to the switch and when prompted use the username and password to login. (I'll assume you've taken care of the enable password)
Hope this helps.
2- Give the switch a domain name (ip domain-name xxx.com)
3- Create a username and password (username xxxxxxxx password xxxxxx)
4- Use SSH v2 (ip ssh version 2)
5- Generate RSA keys (crypto key generate rsa general-keys modulus 2048)
6- Configure local login on the VTYs (line vty 0 15 (enter) login local)
7 - Allow SSH on the VTYs (line vty 0 15 (enter) transport input ssh)
SSH to the switch and when prompted use the username and password to login. (I'll assume you've taken care of the enable password)
Hope this helps.