Network Administrator yang peduli tentang keamanan pasti berfikir menggunakan telnet dan lebih memilih SSH. Konfigurasi telnet bisa di cek pada
Lab.2 Login Cisco Switch dengan Telnet Berikut langkah konfigurasi ssh pada cisco switch :
Konfigurasi S1
Switch#configure terminal
Switch(config)#hostname S1
S1(config)#interface vlan 1
S1(config-if)#ip address 192.168.1.100 255.255.255.0
S1(config-if)#no shutdown
S1(config-if)#exit
S1(config)#ip domain-name didit.com
S1(config)#crypto key generate rsa
The name for the keys will be: S1.didit.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]
S1(config)#username admin password 12345
S1(config)#line vty 0 15
S1(config-line)#transport input ssh
S1(config-line)#login local
S1(config-line)#end
0 comments:
Post a Comment