LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-28-2006, 12:56 AM   #1
drosen
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
Telnet connections refused


Hey all,

I'm trying to set up two computers to be able to telnet between one another. I'm running Ubuntu 6.06, and I've apt-get installed telnet, but every time I try to telnet from one computer to the other, I receive the error: "Connection refused". I suspect its a configuration problem of some sort, because when I run nmap on the two machines, neither one reports port 23 as open. How can I set these computers up to allow telnetting?
 
Old 07-28-2006, 01:08 AM   #2
crazyjimbo
Member
 
Registered: Mar 2006
Location: Edinburgh
Distribution: Debian Etch, Gentoo
Posts: 90

Rep: Reputation: 16
telnet is the client. You need the telnet server (telnetd) to be running on the machine you are trying to connect to. apt-get instal telnetd for the machine you want to connect to (or both).

Are you aware that telnet sends everything unencrypted? Including passwords. Nowadays, it is more common to use ssh (Secure SHell).
 
Old 07-28-2006, 01:11 AM   #3
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
If I was you, I'd not use telnet. It's very very insecure and it is being phased out and that is most likely one of the reasons you are getting a connection refused. Go with ssh instead. It is way better and it is implemented on almost every operating system today and is Linux "standard" today...
 
Old 07-28-2006, 02:38 AM   #4
ryancoolest
Member
 
Registered: Jan 2004
Location: Pinas
Distribution: Mandrake
Posts: 152

Rep: Reputation: 30
Have you tried to disable your firewall?
 
Old 07-28-2006, 01:13 PM   #5
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Thumbs down

Quote:
Originally Posted by ryancoolest
Have you tried to disable your firewall?
Disabling the Firewall and running telnet?. That's like driving a Maclaren F1 at 300km/h in Suzuka International with your eyes closed and expect to make all the turns without crashing...

Have the firewall enabled all the time and use ssh. That is the _right_ way to do go.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connection refused telnet 25 on FC 4 mmondragon Fedora 1 04-27-2006 03:58 AM
telnet: Connection refused hnash53 Linux - Networking 2 01-23-2004 02:12 PM
ssh: remote connections refused Skurge Linux - Networking 8 08-18-2003 12:28 PM
Telnet: Connection Refused Erice60rng Linux - Security 7 01-20-2003 06:15 PM
SSH - Refused Connections bfloeagle Linux - Networking 6 08-31-2001 12:16 AM


All times are GMT -5. The time now is 05:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration