Fedora Core 1, start FTP and Telnet servers?

Place to discuss Fedora and/or Red Hat

Fedora Core 1, start FTP and Telnet servers?

Postby ZiaTioN » Mon Feb 02, 2004 4:12 pm

During install I enabled these ports (21 and 23) in the firewall to be passed but now that I am looking into it these 2 services are not running and therefore are not listening for active connections.

How do I start the default command line ftp and telnet servers that come with Fedora Core 1?

Also I have ssh enabled and it is running. I was able to connect via ssh to the system but when I try to initiate a sftp file transfer it hangs and never transfers a single bit! I did not think sftp relied on ftp to operate but could this be the case?
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Mon Feb 02, 2004 5:04 pm

For ssh you also need port 22. You are right, you do not need ftp running for sftp, just have to have sftp server enabled in the /etc/ssh/sshd_config file.

To turn on and start telnet and ftp servers:

Code: Select all
# chkconfig telnet on
# chkconfig vsftpd on
# service vsftpd start
# service xinetd reload


Of course that assumes you actually have telnet-server and vsftpd installed.
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby ZiaTioN » Mon Feb 02, 2004 5:10 pm

Yeah the vsftpd was able to be initialized but not the telnet server. I thought I had installed it since I chose just about ever server app to install but it gives me an error when I issue the "chkconfig telnet on" command.

The error is as follows:

error reading information on service telnet: no such fi8le or directory


It appears it is not installed. Is there a decent place to grab the telnet server manually? I have not installed apt-get yet so I cannot use that approach. Maybe I will have to search for an rpm somewhere.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm

Postby Void Main » Mon Feb 02, 2004 5:18 pm

You can check to see if it is installed by doing:

Code: Select all
rpm -q telnet-server


If it is not installed it would be on one of your Fedora CDs under the /mnt/cdrom/Fedora/RPMS directory and the name starts with "telnet-server". You could install it off your CD by:

Code: Select all
# rpm -Uvh /mnt/cdrom/Fedora/RPMS/telnet-server*


or you can install it off the net by:

Code: Select all
# rpm -Uvh http://ayo.freshrpms.net/fedora/linux/1/i386/RPMS.os/telnet-server-0.17-26.2.i386.rpm
User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby ZiaTioN » Mon Feb 02, 2004 5:24 pm

Got it from the web (which I was able to do since fixing my dns issues in my other thread). Thanks again man.
ZiaTioN
administrator
administrator
 
Posts: 460
Joined: Tue Apr 08, 2003 3:28 pm


Return to Fedora/Red Hat

Who is online

Users browsing this forum: No registered users and 1 guest

cron