Monday, October 24, 2016

Telnet dan SSH pada CISCO PACKET TRACER

RBJ
Nama
Tri Sutrisno
Kelas
XI TKJ-3
Guru Pembimbing
Suyatno S.Kom
Tittle
Telnet dan SSH dalam CISCO
Tanggal
22 Oktober 2016

SMK-ALBAHRI

Pertama-tama. Setting IP Address, dan Gateway default pada PC0. 
    Dan disini saya menggunakan Ip address : 192.168.100.2 dan Gateway : 192.168.100.1
lalu kita masuk ke sesi routing, atau lebih kita kenal men-setting router.

Masuk pada CLI router.
    Router > enable
    Router # configure terminal
    Router (config) # interface fastethernet0/0
    Router (config-if) #ip address 192.168.100.1 255.255.255.0
    Router (config-if) #no shutdown
    Router (config-if) #line vty 0 4
    Router (config-line)#password ccie
    Router (config-line)#password enable ccie
    Router (config-line)#login
    
Lalu cek di PC0 di Command Prompt.
    PC > telnet 192.168.100.1
    Trying 192.168.100.1 ...Open
    

    User Access Verification
    Password : CCIE
    Router > enable
    Password : CCIE
    Router # 

Nah jika tampillan langsung seperti ini berarti Telnet sudah berhasil.
      Langsung kita menuju ke SSH. 
Yang harus diperhatikan untuk membuat SSH adalah :
       1. Hostname tidak boleh default
       2. Harus ada domain name
       3. Authentication- nya menggunakan user name 
       4. Deskripsikan dijalur telnet bahwa akan menggunakan SSH
       5. Generate Crypto Key

  Langsung saja kita ke Rounde 2 Routing.
Config di router :
     Router(config)# Hostname RT0
     RT0(config)# ip domain-name sutrisno.com
     RT0(config)# crypto key generate rsa
     The name for the keys will be: RT0.sutrisno.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]: 512
     % Generating 512 bit RSA keys, keys will be non-exportable...[OK]
     
     RT0(config)# do sh crypto key mypubkey rsa

Setelah itu test di PC0.
     PC > ssh -l CISCO 192.168.100.1
     Open
     Password: CCIE


      RT0 > enable
      Password: CCIE
      RTH0 #


Jika sudah seperti ini, berarti sudah berhasil. 
                         
                                                                      TERIMA KASIH.
                                                                 SELAMAT MENCOBA :)


No comments :

Post a Comment