Install Telnet di Ubuntu 20.04: Perbedaan antara revisi

Dari Dokumentasi Robie
Loncat ke navigasi Loncat ke pencarian
k (Melindungi "Install Telnet di Ubuntu 20.04" ([Sunting=Hanya untuk pengurus] (selamanya) [Pindahkan=Hanya untuk pengurus] (selamanya)))
Tidak ada ringkasan suntingan
 
(2 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 46: Baris 46:
  Processing triggers for systemd (245.4-4ubuntu3.17) ...
  Processing triggers for systemd (245.4-4ubuntu3.17) ...
  robie@robie:~$
  robie@robie:~$
untuk menggunakan telnet dapat mengetikkan perintah berikut
robie@robie:~$telnet (ip tujuan) (port)
robie@robie:~$telnet 192.168.122.149 23 (enter)
[[Kategori:Linux]]

Revisi terkini sejak 27 September 2023 07.04

Untuk menginstall telnet dapat mengetikkan perintah berikut di terminal

robie@robie:~$ sudo apt install telnetd

proses instalasi akan terlihat seperti berikut:

robie@robie:~$ sudo apt install telnetd
[sudo] password for robie: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  openbsd-inetd tcpd update-inetd
The following NEW packages will be installed:
  openbsd-inetd tcpd telnetd update-inetd
0 upgraded, 4 newly installed, 0 to remove and 162 not upgraded.
Need to get 114 kB of archives.
After this operation, 413 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://id.archive.ubuntu.com/ubuntu focal/main amd64 update-inetd all 4.50 [24.8 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 tcpd amd64 7.6.q-30 [24.4 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 openbsd-inetd amd64 0.20160825-4build1 [26.4 kB]
Get:4 http://id.archive.ubuntu.com/ubuntu focal/universe amd64 telnetd amd64 0.17-41.2build1 [38.8 kB]
Fetched 114 kB in 0s (243 kB/s)
Preconfiguring packages ...
Selecting previously unselected package update-inetd.
(Reading database ... 73085 files and directories currently installed.)
Preparing to unpack .../update-inetd_4.50_all.deb ...
Unpacking update-inetd (4.50) ...
Selecting previously unselected package tcpd.
Preparing to unpack .../tcpd_7.6.q-30_amd64.deb ...
Unpacking tcpd (7.6.q-30) ...
Selecting previously unselected package openbsd-inetd.
Preparing to unpack .../openbsd-inetd_0.20160825-4build1_amd64.deb ...
Unpacking openbsd-inetd (0.20160825-4build1) ...
Selecting previously unselected package telnetd.
Preparing to unpack .../telnetd_0.17-41.2build1_amd64.deb ...
Unpacking telnetd (0.17-41.2build1) ...
Setting up update-inetd (4.50) ...
Setting up tcpd (7.6.q-30) ...
Setting up openbsd-inetd (0.20160825-4build1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/inetd.service → /lib/systemd/system/inetd.service.
Setting up telnetd (0.17-41.2build1) ...
Adding user telnetd to group utmp
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.17) ...
robie@robie:~$


untuk menggunakan telnet dapat mengetikkan perintah berikut

robie@robie:~$telnet (ip tujuan) (port)


robie@robie:~$telnet 192.168.122.149 23 (enter)