cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
337
Views
0
Helpful
2
Replies

SSH - 2960Sw

nasr.khan
Level 1
Level 1

Hi

Can ssh be applied on Cisco 2960. Are configuration commands same similar to Router.

2 Replies 2

Collin Clark
VIP Alumni
VIP Alumni

Yes it can, you may need the crypto image though. Here are the commands to configure SSH.

Switch(config)#hostname SwitchOne

SwitchOne(config)#ip domain-name mydomain.com

SwitchOne(config)#crypto key generate rsa

Enter modulus: 1024

SwitchOne(config)#ip ssh time-out 60

SwitchOne(config)#ip ssh authentication-retries 2

SwitchOne(config)#line vty 0 4

SwitchOne(config-line)#transport input ssh

SwitchOne(config-line)#^Z

SwitchOne#write memory

Hi.

You _do_ need the crypto image. It's the ones with a k9 in the image name, i.e. c2960-lanbasek9-mz.xxxx

HTH, Ingolf

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco