Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-27-2003, 03:50 AM
|
#1
|
Member
Registered: Oct 2003
Posts: 45
Rep:
|
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
|
|
|
10-27-2003, 04:09 AM
|
#2
|
Member
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631
Rep:
|
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
|
|
|
10-27-2003, 07:14 AM
|
#3
|
Member
Registered: Oct 2003
Posts: 45
Original Poster
Rep:
|
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.
|
|
|
10-27-2003, 08:56 AM
|
#4
|
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280
Rep:
|
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
AVOID TELNET!!
|
|
|
10-27-2003, 09: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
|
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)
|
|
|
All times are GMT -5. The time now is 04:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|