Kita
atur SSH pada MLS1
MLS1(config)#username SSH password falah
MLS1(config)#ip domain name falah.kgb
MLS1(config)#crypto key generate rsa
The name for the keys will be:
MLS1.falah.kgb
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]: 512
% Generating 512 bit RSA keys, keys
will be non-exportable...[OK]
MLS1(config)#line vty 0 4
*Mar 1 0:58:22.206: RSA key size
needs to be at least 768 bits for ssh version 2
*Mar 1 0:58:22.206: %SSH-5-ENABLED:
SSH 1.5 has been enabled
MLS1(config-line)#transport input ssh
MLS1(config-line)#login local
Buat terlebih dahulu login dengan
passwordnya. Lalu menggati domainnya. Transport input digunakan untuk mengubah
yang awalnya telnet menjadi SSH.
Test remote dari Client PC
PC>ssh -l SSH 10.10.10.10
Open
Password: (falah)
MLS1>en
Password: (123)
MLS1#
Saat
kita login menggunakan telnet maka tidak akan bisa.
PC>telnet 10.10.10.10
Trying 10.10.10.10 ...Open
[Connection
to 10.10.10.10 closed by foreign host]
0 komentar:
Posting Komentar