Cara konfigurasi ssh pada switch Cisco


nurohman#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
nurohman(config)#hostname nurohman
nurohman(config)#ip domain-name nurohman.my.id
nurohman(config)#line vty 0 4
nurohman(config-line)#transport input ssh
nurohman(config-line)#password 123456
nurohman(config-line)#login local
nurohman(config-line)#username nurohman password 123456
nurohman(config)#enable password 123456
The enable password you have chosen is the same as your enable secret.
This is not recommended.  Re-enter the enable password.
nurohman(config)#enable secret 123456
The enable secret you have chosen is the same as your enable password.
This is not recommended.  Re-enter the enable secret.
nurohman(config)#crypto key generate rsa
% You already have RSA keys defined named nurohman.nurohman.my.id .
% Do you really want to replace them? [yes/no]: yes
The name for the keys will be: nurohman.nurohman.my.id
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]


cara aksesnya : ssh -l nurohman 192.168.2.1

Post a Comment

0 Comments