cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
20679
Views
2
Helpful
1
Replies

Configuring simple SSH access to Cisco 2960

hello

i have cisco 2960 switches

and i want to configure SSH so that i can access them from the command line.

do you have a simple configuration ? (i will set my own password, not the example one )

can you help ?

1 Reply 1

chrihussey
VIP Alumni
VIP Alumni

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.