PC>
PC>telnet 10.10.10.2
Trying 10.10.10.2 ...Open
User Access Verification
Password: cisco
S1>enable
Password: cisco
S1#configure terminal
S1(config)#service password-encryption
S1(config)#ip domain-name netacad.pka
S1(config)#crypto key generate rsa
The name for the keys will be: S1.netacad.pka
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]
S1(config)#user administrator password cisco
*Mar 1 0:2:28.954: %SSH-5-ENABLED: SSH 1.99 has been enabled
S1(config)#line vty 0 15
S1(config-line)#transport input ssh
S1(config-line)#no password
S1(config-line)#login local
S1(config-line)#end
S1#exit
[Connection to 10.10.10.2 closed by foreign host]
PC>ssh -l administrator 10.10.10.2
Open
Password:
S1>enable
Password:
S1#
selesai silahkan mencoba yaa :)
No comments:
Post a Comment