PDA

View Full Version : telnet


jollewhoever
September 4th, 2002, 12:41 AM
Is there some way to make my computor (10.1.5) accept telnet logins (port 23) ?

gatorparrots
September 4th, 2002, 04:41 PM
Yes, there is but SSH is much more secure (port 22). Is there a specific (and very good reason) you want to use telnet?

symphonix
September 5th, 2002, 08:58 PM
If you really must set up telnet, and you have been warned that is about as secure as shouting your password in a shopping mall, then you can do it like this:

- Open a terminal
- Enter 'sudo pico /etc/inetd.conf' (for 10.2 you will need to edit xinetd instead)
- Remove the hash at the start of the line that reads "#telnet .... ... " and so on. In effect, you want to un-comment this line.
- Ctrl X to exit, say yes to save the changes.
- You might have to restart (perhaps).

onan
September 9th, 2002, 08:07 PM
You wouldn't need to reboot, a "sudo killall -HUP inetd" would do it for you.

But I feel obligated to repeat one more time that telnet is a _very_bad_ idea, and there's almost certainly no good reason to use it instead of ssh.