LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Telnet connections refused (https://www.linuxquestions.org/questions/linux-networking-3/telnet-connections-refused-468445/)

drosen 07-28-2006 12:56 AM

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?

crazyjimbo 07-28-2006 01:08 AM

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).

Mega Man X 07-28-2006 01:11 AM

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...

ryancoolest 07-28-2006 02:38 AM

Have you tried to disable your firewall?

Mega Man X 07-28-2006 01:13 PM

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.


All times are GMT -5. The time now is 04:09 AM.