LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Telnet Debian (https://www.linuxquestions.org/questions/linux-security-4/telnet-debian-362232/)

aeuzent 09-10-2005 11:08 PM

Telnet Debian
 
I'm setting up my first webserver using Debian and I ran into a little snag. I need telnet to work on the system but as of yet I don't have any luck.

I keep getting responses like this
Code:

root@ubuntu:/home/aeuzent # telnet 192.168.123.133
Trying 192.168.123.133...
telnet: Unable to connect to remote host: Connection refused
root@ubuntu:/home/aeuzent # telnet aeuzent.ftpaccess.cc
Trying 68.50.51.192...
telnet: Unable to connect to remote host: Connection refused

I'm sure there's just some config file that needs editing. I appreciate any help I can get.

btmiller 09-11-2005 01:27 AM

You really ought to use SSH instead of telnet as it is encrypted, unlike telnet, which is clear text. Make sure sshd is running on your system, and you just need a SSH client and you're set.

If you really need telnet (and there's no good reason for it except some highly specific conditions) then just "apt-get install telnetd", make sure it's set to run in your inetd or xinetd configuration (my Debian uses inetd so the config is /etc/inetd.conf -- just uncomment the telnet line), and restart inetd or xinetd.

As I said, though, you really should use SSH,

Half_Elf 09-11-2005 08:51 AM

Hmmm do you have a telnet server listening on these boxes? Don't expect Debian to install anything as crappy as Telnet by default. If you want to use it, you will need to install it.

btw... Telnet is old, broken and evil. Use SSH instead.

aeuzent 09-11-2005 01:28 PM

Any idea how to install it?

I'm hoping on an apt package

Half_Elf 09-11-2005 10:50 PM

apt-get install telnetd ?

" apt-get -s telnet* | less " should give you some hints

aeuzent 09-11-2005 10:54 PM

Problem solved. And for future users

Telnet bad, SSH Good

Install SSH with

Code:

apt-get install ssh

archtoad6 09-12-2005 07:04 PM

It's so nice when someone listens to the advice given, esp. when it's excellent!


All times are GMT -5. The time now is 07:38 AM.