LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-10-2005, 11:08 PM   #1
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Rep: Reputation: 15
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.
 
Old 09-11-2005, 01:27 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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,
 
Old 09-11-2005, 08:51 AM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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.
 
Old 09-11-2005, 01:28 PM   #4
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
Any idea how to install it?

I'm hoping on an apt package
 
Old 09-11-2005, 10:50 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
apt-get install telnetd ?

" apt-get -s telnet* | less " should give you some hints
 
Old 09-11-2005, 10:54 PM   #6
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
Problem solved. And for future users

Telnet bad, SSH Good

Install SSH with

Code:
apt-get install ssh
 
Old 09-12-2005, 07:04 PM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet to my debian system RRolleston Debian 6 04-01-2005 02:27 AM
Telnet to debian machine dun_noe Debian 6 10-30-2004 06:17 AM
How do I setup telnet on Fedorac1 so I can telnet to it from winxp? mman49 Fedora 6 05-02-2004 12:40 PM
can not telnet localhost 25 but telnet dowell.exper.dynserv.com 25 exper Linux - Software 0 02-25-2004 05:13 AM
enable telnet but can't telnet from the computer guanyu Linux - Networking 8 08-26-2002 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration