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 |
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.
|
 |
05-11-2014, 07:59 AM
|
#1
|
LQ Newbie
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19
Rep: 
|
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 08:01 AM.
|
|
|
05-11-2014, 09:50 AM
|
#2
|
Member
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Rep: 
|
Either install the ftp-ssl package or use sftp
|
|
|
05-11-2014, 11:32 PM
|
#3
|
LQ Newbie
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19
Original Poster
Rep: 
|
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-11-2014 at 11:34 PM.
|
|
|
05-12-2014, 05:03 AM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,440
|
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.
|
05-12-2014, 09:35 AM
|
#5
|
LQ Newbie
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19
Original Poster
Rep: 
|
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
|
|
|
05-12-2014, 12:47 PM
|
#6
|
Member
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Rep: 
|
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.
|
|
|
05-12-2014, 07:35 PM
|
#7
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
|
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 01:03 PM.
|
|
|
05-13-2014, 06:19 AM
|
#8
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,440
|
|
|
|
05-21-2014, 11:11 AM
|
#9
|
LQ Newbie
Registered: Jan 2014
Location: India
Distribution: RHEL, CentOS, Fedora
Posts: 19
Original Poster
Rep: 
|
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
|
|
|
All times are GMT -5. The time now is 06:13 AM.
|
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
|
|