Page 1 of 1

Cisco 2960S enable SSH

Posted: Sun Jan 07, 2024 10:00 pm
by zemerdon
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.

Re: Cisco 2960S enable SSH

Posted: Sun Jan 07, 2024 11:31 pm
by zemerdon
enable
conf t
hostname 2960S
enable secret passwordhere
ip domain-name c2960.local
crypto key generate rsa general-keys modulus 2048
ip ssh version 2
username usernamehere privilege 15 password passwordhere
aaa new-model
aaa authentication login default local
write memory
reload