0% found this document useful (0 votes)
19 views2 pages

Cisco PT SSH

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views2 pages

Cisco PT SSH

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 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