Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Nov 082010
 

Emulate telnet using nc

Answer:

Telnet is a very useful tool for connecting to remote server, such as SMTP. However, you can replace the command telnet by nc, with the exact functionality.

Example: Connect to the local SMTP server.

# nc localhost 25

Dec 252009
 

Should I use Telnet and FTP for remote access?

Answer:

In a word, No.

The problem with Telnet, FTP, and other non-encrypted protocols is that everything is sent across the network as plain text. This means that someone running a sniffing program on the network, which is very simple under many circumstances, can see all of your traffic - including your login and password.

Consider replacing Telnet and FTP with SSh.

Source: http://www.linuxsecurity.com/docs/colsfaq.html#4.6

Dec 252009
 

Why can't I telnet into my Linux box as root?

Answer:

By default, some distributions prohibit root from logging in remotely, unless you first log in as a regular user, and then "su" to root. This feature provides an extra layer of security in case the password of the root account is compromised.

Although it is not recommended, this restriction can be removed by deleting the file /etc/securetty. For more information, type "man securetty".

Source: http://www.linuxsecurity.com/docs/colsfaq.html#9.1