Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

hostname: SW_SSH

ip domain-name: SSH

line console password: SSH


**************************
ssh user name: SMART

ssh password: CISCO


************************
************************

Switch # config t

Switch (config)#hostname SW1

SW1 ( config)#ip domain-name SSH

*********
SW1 ( config)#line console 0

SW1(config-line)#password SSH

SW1(config -line)#logging synchronous

SW1(config- line)#login local

SW1 (config- line)#exit

SW1 # enable secret cisco

***********************************

SW1 ( config)# crypto key generate rsa

How many bits in the modulus [512]: 1024

% Generating 1024 bit RSA keys, keys will be non-exportable…[OK]

*****************************************

sw1 ( config)#line vty 0 4

sw1 ( config-line)#transport input ssh

sw1( config -line)#login local

sw1(config- line)#password 7 // LINE -- SSH

sw1(config- line ) #exit

************************************

Sw1# config t

sw1 (config ) # username w7cloud password cisco


**********************************

***********************************

sw1 (config ) # IP DOMAIN-NAME smart.com

sw1 (config ) #username cat privilege 15 secret cat123

sw1 (config ) #line vty 0 15

sw1 (config-line ) #transport input ssh

sw1 (config-line ) # login local

sw1 (config-line ) #exit

sw1 (config ) #crypto key generate rsa

key size : 1024

sw1 (config ) #

You might also like