First page Back Continue Last page Image

How to Configure SSH on your Switch

Configure IP Domain

S1 (config)# ip domain-name CCNA-Lab.com

Configure User Authentication

S1 (config)# username admin privilege 15 secret sshadmin

Select Virtual Terminal Lines

S1 (config)# line vty 0 15

Set to SSH Mode

S1 (config-line)# transport input ssh

Indicate use for Login

S1 (config-line)# login local

Drop to Configure Mode

S1 (config-line)# exit

Generate RSA Key Pairs

S1 (config)# crypto key generate rsa modulus 1024

Set SSH Time out Variable

S1 (config)# ip ssh time-out 75

Set SSH Retries Variable

S1 (config)# ip ssh authentication-retries 2