Difference between revisions of "Telnet"
m (→Introduction: fixed typo - "now days" -> "nowadays")
(Use I18n template)
|Line 1:||Line 1:|
Revision as of 07:21, 20 May 2011
TELNET is the traditional protocol for making remote console connections over TCP. TELNET is not secure, and is mainly used to connect to legacy equipment nowadays.
Follow these instructions to configure an Arch Linux machine as a telnet server.
To use telnet only to connect to other machines, install inetutils (if not already installed):
# pacman -S inetutils
To configure a telnet server, install xinetd as well:
# pacman -S xinetd
1. To allow telnet connections in xinetd:
# vi /etc/xinetd.d/telnet
Change 'disable' from 'yes' to 'no'
2. To allow telnet connections to your machine, add the following to /etc/hosts.allow:
3. Add xinetd to the "DAEMONS" section of your /etc/rc.conf file.
DAEMONS=(syslog-ng network netfs crond ............ xinetd)
4. Reboot or restart xinetd:
# /etc/rc.d/xinetd restart
Testing the setup
Try opening a telnet connection to your server:
$ telnet localhost
Note that you can not login as root.