LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2014, 08:59 AM   #1
Sean1988
LQ Newbie
 
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19

Rep: Reputation: Disabled
bash: ftp-ssl: command not found


Hi guyz,

I need your help please. I use RHEL ver.6 and have trouble setting up VSFTP using SSL. I managed to install the package perl-Net-FTPSSL-0.15-1.el6.noarch & also added entries in vsftpd.conf by following this site
http://www.cyberciti.biz/tips/config...a-ssl-tls.html

[root@localhost2 ~]# ftp-ssl localhost
bash: ftp-ssl: command not found

lftp, TLSWRAP commands wont work. (not sure if its relevant here)

Please advice.

Thanks in advance!

Last edited by Sean1988; 05-11-2014 at 09:01 AM.
 
Old 05-11-2014, 10:50 AM   #2
DJ Shaji
Member
 
Registered: Dec 2004
Distribution: Fedora 22 (Twenty Two!), ArchLinux
Posts: 506
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Either install the ftp-ssl package or use sftp
 
Old 05-12-2014, 12:32 AM   #3
Sean1988
LQ Newbie
 
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19

Original Poster
Rep: Reputation: Disabled
Thanks for your reply Shaji. ftp-ssl package is available for debian based systems but i'm not sure if its available for Redhat or centOS distros.
I was trying to find a way to install ftp with ssl encryption using the private key i created.

[root@localhost2 ~]# yum install *ftp-ssl*
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
abc | 1.3 kB 00:00 ...
Setting up Install Process
abc/filelists | 3.3 MB 00:01 ...
No package *ftp-ssl* available.

Last edited by Sean1988; 05-12-2014 at 12:34 AM.
 
Old 05-12-2014, 06:03 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
I'd go with sftp; definitely available on all distros as part of the ssh pkg & much easier to setup.
 
1 members found this post helpful.
Old 05-12-2014, 10:35 AM   #5
Sean1988
LQ Newbie
 
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hello Chris:

In reality, i would also use sftp. Just curious to know if FTP-SSL can be set up in RHEL or Fedora distros.

Many thanks,

Sean
 
Old 05-12-2014, 01:47 PM   #6
DJ Shaji
Member
 
Registered: Dec 2004
Distribution: Fedora 22 (Twenty Two!), ArchLinux
Posts: 506
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
I couldn't find a binary package for Fedora, but it should be trivial to compile from source in any case. Shouldn't take you more than a couple of minutes.
 
Old 05-12-2014, 08:35 PM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
found these two links that might help:

http://beginlinux.com/blog/2009/01/s...ssl-on-centos/

http://www.cyberciti.biz/tips/config...a-ssl-tls.html

Quote:
Secure FTP with SSL on CentOS
by MIKE on JANUARY 29, 2009 2 COMMENTS
in FTP SERVER
FTP communication is not secure, all communication is plain text and can be easily captured. Despite this serious weakness, few do anything to secure it. There are simple ways to correct this with VSFTPD.

SSL/TLS With FTP

FTPS is also known as FTPS Secure or FTP-SSL. What FTPS does is add the Transport Layer Security (TLS) and the Secure Sockets Layer (SSL) to the normal FTP on the same port 21. It is easy to confude FTPS on port 21 with SFTP which is actually SSH on port 22.
edited just to add that FTP-SSL is the same as ftps from what this link states.

Last edited by lleb; 05-13-2014 at 02:03 PM.
 
Old 05-13-2014, 07:19 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
FTP-SSL doesn't seem to be in the Centos repos (might have missed it).
OTOH, vsftpd+ssl is do-able
http://www.cyberciti.biz/tips/config...a-ssl-tls.html
http://www.server-world.info/en/note...OS_6&p=ftp&f=5
https://security.appspot.com/vsftpd.html & https://security.appspot.com/vsftpd/vsftpd_conf.html
 
Old 05-21-2014, 12:11 PM   #9
Sean1988
LQ Newbie
 
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19

Original Poster
Rep: Reputation: Disabled
Hello everyone! Thank you so much for all your response on this matter. my apologies for the late reply as i was in travel (in a place where i couldn't access internet).

lleb & chrism01 - I tried the site you suggested. (http://www.cyberciti.biz/tips/config...a-ssl-tls.html). I was able to follow till the part where it asks to add some entries in /etc/vsftpd/vsftpd.conf and then it gives instructions for Debian based distros. adding these entries didn't help.

DJ Shaji - I tried downloading the source code (netkit-ftp-0.17+ssl-0.2.diff.gz). I'm unable to compile it using the 'make' command. appreciate if you could guide me with this if i'm not doing it correctly.


Many thanks
 
  


Reply


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
[SOLVED] RHEL 6 cannot initiate FTP command: bash: ftp: command not found DavidDiepUSC Linux - Newbie 20 11-21-2012 05:37 AM
[SOLVED] vsftpd bash ftp command not found paruhang Linux - Newbie 7 04-21-2012 07:08 PM
ftp command not found Poweredge Linux - Newbie 5 08-08-2010 03:53 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM
Searching for FTP SSL command line client for Fedora chipix Linux - Security 4 06-27-2006 09:47 AM


All times are GMT -5. The time now is 01:12 AM.

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