Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-27-2003, 04:50 AM   #1
Registered: Oct 2003
Posts: 45

Rep: Reputation: 15
Unhappy telnet and ftp?

i'd like to telnet a linux8.0 machine but i get a message like :"connection refused"
no problem with ping
what to do?
any help is apreciated
Old 10-27-2003, 05:09 AM   #2
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
On many Linux machines telnet comes disabled by default for security reasons. Secure Shell (ssh) is better. If you are connecting from another Linux/UNIX box, just replace "telnet" with "ssh" and that should work. If coming from Windows, you can download an SSH client (e.g. PuTTY - google for "PuTTY download").

If you really want to use telnet, you need to enable it. The exact method will depend on which distro you are using but you need to be looking at /etc/inetd.conf or /etc/inet.d
Old 10-27-2003, 08:14 AM   #3
Registered: Oct 2003
Posts: 45

Original Poster
Rep: Reputation: 15
i'd like to use telnet but i don't khnow what parameters to modify in "/etc/xinetd.conf"
and "/etc/xinetd.d.telnet"
i'm guessing that these are the only configuration file that i need.
Old 10-27-2003, 09:56 AM   #4
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
telnet sucks man, stay away from it. please use ssh instead. all your passwords are so easily sniffed out in a telnet session, a 5th grader could do it. with that, you've been warned.

im used to all the server deamons being in /etc/init.d

so then it would be for me (if i had telnet) /etc/init.d/telnet start

if you are trying to connect to a computer that you think has telnet running on it, then Connection Refused means 1 or more things:

1. telnet not running on said machine
2. telnet running but u dont have access based on your IP or something
3. telnet running on non-standard port

Old 10-27-2003, 10:05 AM   #5
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
that's right, telnet has all but outlived it's usefullness, i'ts still good for running internet bbses and other things, but for remote administration of a linux machine, ssh wins hands down for security, ssh is to telnet as ssl is to web browsing and email, a means of encryption so information you want private stays private, and the sshd has an sftpd subservice that allows secure transfer of files, trust me you don't want ftp and ssh if you can avoid it, ftp is best left for anonymous access to your box (such as if you want anyone to access the files)


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp and telnet shelbyg75 Red Hat 2 09-29-2004 03:27 PM
telnet and ftp paperdiesel Linux - Networking 18 07-12-2004 05:15 PM
FTP and Telnet carlg Linux - Networking 3 04-02-2004 01:00 PM
telnet and ftp? nabil_boussetta Red Hat 4 10-27-2003 09:33 AM
telnet and FTP clewis Linux - Newbie 6 06-25-2001 04:04 AM > Forums > Linux Forums > Linux - Networking

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

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