AKSES CISCO VIA TELNET AND SSH

 






Lankah-langkah

1. Remot Cisco dengan laptop dengan kabel console hal ini bertujuan untuk configurasi telnet dan ssh nya

2. Configurasi Telnet dengan laptop

Router-Master(config)#int G0/0/0

Router-Master(config-if)#

Router-Master(config-if)#ip address 192.168.1.1 255.255.255.0

Router-Master(config-if)#no shutdown


Router-Master(config)#line vty 0 4

Router-Master(config-line)#password seno

Router-Master(config-line)#login

Router-Master(config-line)#exit

Router-Master(config)#service password-encryption

Router-Master(config)#transport input all


3. Jika sudah tinggal coba remot cisco lewat pc tapi sebelum itu configurasi ip pada Pc seperti  gambar di bawah ini.






Cisco Packet Tracer PC Command Line 1.0

C:\>telnet 192.168.1.1

Trying 192.168.1.1 ...Opensemoga Sukses Selalu

Selamat Datang


User Access Verification


Password:

Router-Master>




4. Configurasi ssh dengan via console.


Router-Master(config)#ip domain-name seno.com

Router-Master(config)#crypto key generate rsa

The name for the keys will be: Router-Master.seno.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

How many bits in the modulus [512]: 1024

% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]


Router-Master(config)#

Router-Master(config)#enable secret seno

Router-Master(config)#line vty 0 4

Router-Master(config-line)#login local

Router-Master(config-line)#transport input ssh


5. Sekarang tinggal coba remot lewat ssh di terminal.


Setting Pc seperti contoh gambar di bawah ini



untuk selanjutnya buka terminal lalu jalankan perintah

ssh -l seno 192.168.1.1










Previous
Next Post »