Showing posts with label SSH CONFIGURATION IN MULTILAYER SWITCH. Show all posts
Showing posts with label SSH CONFIGURATION IN MULTILAYER SWITCH. Show all posts

Friday, April 17, 2015

SSH CONFIGURATION IN MULTILAYER SWITCH

SSH CONFIGURATION IN  MULTILAYER SWITCH

BLR(config)#enable secret 123
BLR(config)#ip domain-name blr.com
BLR(config)#crypto key generate rsa

The name for the keys will be: BLR.blr.com
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.

How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]

BLR(config)#ip ssh version 2
BLR(config)#line vty 0 15
BLR(config-line)#transport input ssh
BLR(config-line)#password 123
BLR(config-line)#login
LR(config-line)#exit
BLR(config)#exit
BLR#
%SYS-5-CONFIG_I: Configured from console by console

BLR#wr
Building configuration...
[OK]


 (IT will Ask USERNAME AND PASSWORD)

BLR(config)#username sam secret 123
BLR(config)#ip ssh version 2
BLR(config)#line vty 0 15
BLR(config-line)#transport input ssh
BLR(config-line)#login local
LR(config-line)#exit
BLR(config)#exit



Command Prompt SSH Access from PC

PC>ssh -l admin 10.2.1.100
Open
Password:
BLR>en
% No password set.
BLR>