TELNET
RBJ
|
Title
|
:
|
Telnet
|
Issue Date
|
:
|
20 Agustus 2016
|
|
Prepare By
|
:
|
Yada Aulia
|
|
Class
|
:
|
XII TKJ 2
|
|
Teacher
|
:
|
Suyatno, S.Kom
|
|
|
SMK AL-BAHRI KOTA BEKASI
|
Telnet
Topologi
Device
|
Interface
|
IP Address
|
PC-0
|
Fa0
|
192.168.10.10/24
|
Router 0
|
Fa0/0
|
192.168.10.1/24
|
Pasang IP Address
di router interface fa0/0
Router(config)#int
fa0/0
Router(config-if)#ip
address 192.168.10.1 255.255.255.0
Router(config-if)#no
sh
Setting
authentication di line telnet, jika ada PC yang hendak telnet ke router maka akan
diminta password authentication:
Router(config-if)#line
vty 0 4
Router(config-line)#password
ccie
Router(config-line)#login
Router(config-line)#
Outputnya
akan seperti ini:
Packet
Tracer PC Command Line 1.0
PC>telnet
192.168.10.1
Trying 192.168.10.1
...Open
User Access
Verification
Password:
Router>en
% No
password set.
Router>
Artinya kita bisa masuk ke router
tetapi tidak bisa masuk ke mode privilege, Nah agar kita bisa masuk ke
privilege mode maka kita harus setting routernya sbb:
Router(config)#enable
password ccie (password bisa diganti)
PC>telnet
192.168.10.1
Trying
192.168.10.1 ...Open
User Access
Verification
Password:
Router>en
Password:
Router#conf
t
Enter
configuration commands, one per line.
End with CNTL/Z.
Router(config)#
Settingan yang tadi kita buat masih
ada kelemahan yaitu password yang kita buat masih bisa dibaca pada saat
menampilkan “show run”, lebih baiknya dienkripsi terlebih dahulu.
Hasilnya
password dapat dilihat:
Building
configuration...
Current
configuration : 541 bytes
version 12.4
no service
timestamps log datetime msec
no service
timestamps debug datetime msec
no service
password-encryptionhostname Router
enable password ccie
agar
password tidak kelihatan maka kita perlu masukakkan script ini :
PC>telnet
192.168.10.1
Trying
192.168.10.1 ...Open
User Access
Verification
Password:
Router>en
Password:
Router#conf
t
Enter
configuration commands, one per line.
End with CNTL/Z.
Router(config)#do
sh run
Building
configuration...
Current
configuration : 541 bytes
Router(config)#
service password-encryption
Router(config)#do
sh run
Building
configuration...
Current
configuration : 554 bytes
version 12.4
no service
timestamps log datetime msec
no service
timestamps debug datetime msec
service
password-encryption
hostname
Router
enable
password 7 08224F470C
0 Response to "TELNET"
Posting Komentar