Setting Up a Telnet Server

You will find the Telnet server installation packages in Synaptic under the telnetd package. Once installed, select Administration, Services and enable Telnet. Note your IP address while you are here

(run ifconfig with sudo).

With that done, you can now fire up your other Linux box and type telnet <your ip>. You are prompted to enter your username and password. The whole conversation should look like this:

[[email protected] ~]$ telnet Trying

Connected to ( Escape character is ,A]'. Welcome to Caitlin Running Ubuntu

* All access is logged *

login: paul Password:

Last login: Sat Jul 9 12:05:41 from [[email protected] ~]$

Note that the server responds with Welcome to Caitlin, running Ubuntu, which is a customized message. Your machine will probably respond with Ubuntu and some version information. This is insecure: giving away version numbers is never a smart move. In fact, even saying ubuntu is questionable. Edit the issue and files in your /etc directory to change these messages.

Running the w command now shows you as connecting from the external IP address.


Was this article helpful?

0 0

Post a comment