Computing.Net > Forums > Linux > How to Setup Telnet and FTP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to Setup Telnet and FTP

Reply to Message Icon

Name: jeeseck
Date: December 6, 2002 at 23:36:05 Pacific
OS: RH 8.0
CPU/Ram: Celeron 64MB Ram
Comment:


Dear Friends,
I’ve installed RH Linux 7.0 and RH 8.0 on two different machines. That machine
is having the Local Area Network IP is = 192.168.0.1, and 192.168.0.2. I want to telnet and FTP to the machines. But it shows me an error
“The remote host refused connection.” The same case is there in FTP. So n e body suggest me step by step to enable the Telnet and FTP services on my two machines. Oh ya.. the two machine now can ping each others and the network is working. :)

regard
jeeseck




Sponsored Link
Ads by Google

Response Number 1
Name: Guy
Date: December 7, 2002 at 09:01:10 Pacific
Reply:

Can you 'ping' each machine from the other? If not, you do not even have basic connectivity completed yet.

If you can, there are several possibilities:

1) telnet and/or ftp is not configured properly. Start with:

man xinted

and look in /etc/xinetd.d to figure this out.

2) You default firewall is denying access. To prove whether or not this is the case, temporarily stop the walls on both machines.

If this is the cause, reconfigure the wall(s).

HTH, Guy


0

Response Number 2
Name: ArnoldF
Date: December 7, 2002 at 13:10:04 Pacific
Reply:

generally, “The remote host refused connection.” means the host is reachable but the remote does not support the service.

I am not sure of this, but is telnet (telnetd) still supported on recent linux?
try ssh login_name@remote_host

also try ftp localhost


0

Response Number 3
Name: egkenny
Date: December 7, 2002 at 21:10:57 Pacific
Reply:

Outgoing telnet is handled by the program /usr/bin/telnet
Outgoing ftp is handled by the program /usr/bin/ftp
Incoming telnet is handled by the telnet server (aka telnet daemon)
Incoming ftp is handled by the ftp server (aka ftp daemon)
The outgoing programs are installed by default
The incoming servers are not installed by default in recent RedHat versions.

I have two machines setup for telnet and ftp
#1 RedHat 7.3
#2 RedHat 8.0
I do not remember whether RedHat 7.0 has the same setup as these. Let me know if this does not work.
1) Make sure telnet and ftp servers are installed.
# cd /etc/xinetd.d
# ls
2) you should see telnet and ftp setup files there. My file are called telnet and wu-ftpd.
3) if they are there open each one in an editor and change:
disable = yes
to
disable = no
4) if these or similarly named files are not there then you need to install them
and enable them as in step 3

For RedHat 8.0 the telent server is located on installation cd 2
/mnt/cdrom/RedHat/RPMS/telnet-server-0.17-23.i386.rpm
For RedHat 8.0 the ftp server is located on installation cd 3
/mnt/cdrom/RedHat/RPMS/wu-ftpd-2.6.2-8.i386.rpm

For RedHat 7.0 the telent server is located on installation cd 1
/mnt/cdrom/RedHat/RPMS/telnet-server-0.17-7.i386.rpm
For RedHat 7.0 the ftp server is located on installation cd 1
/mnt/cdrom/RedHat/RPMS/wu-ftpd-2.6.1-6.i386.rpm

Once the servers are installed, enabled, and you reboot you can telnet and ftp to normal user accounts on the other computer. To move outside the user directories on the other machine you must use su to change to the root user..


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Lime Wire for Linux insta... linux ftp server wu-ftpd



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How to Setup Telnet and FTP

Telnet and ftp in Linux www.computing.net/answers/linux/telnet-and-ftp-in-linux/15815.html

How to setup iptable for active FTP www.computing.net/answers/linux/how-to-setup-iptable-for-active-ftp/16681.html

telnet and ftp connection refused www.computing.net/answers/linux/telnet-and-ftp-connection-refused/22932.html