-
Story
-
Resolution: Can't Do
-
Minor
-
RH254 - RHEL 7 0
-
None
URL:
Reporter RHNID:
Section: -
Language:
Workaround:
Description: Hi,
I'm just wondering why vsftpd is now gone in RH254. Since httpd+ssl is covered here, this is just a thought and suggestion that i think its better if we also include vsftpd+ssl instead of a dropbox style.
Below is the suggested setup and configuration:
- yum install vsftpd
- vi /etc/vsftpd/vsftpd.conf
chroot_local_user=YES <-- set this to YES
– and adding this lines
allow_writeable_chroot=YES <-- restrict user to own home directory
userlist_deny=NO <-- this only allow users on /etc/vsftpd/user_list
ssl_enable=YES
rsa_cert_file=/etc/pki/tls/certs/serverX.example.com.crt
rsa_private_key_file=/etc/pki/tls/private/serverX.example.com.key
- setsebool -P ftp_home_dir on
- systemctl start vsftpd.service
- systemctl enable vsftpd.service
From Desktop Machine:
- yum install lftp
- lftp student@serverX.example.com
Password:
lftp student@serverX.example.com:~> set ssl:verify-certificate no <-- if self-sign cert
lftp student@serverX.example.com:~> ls
note: connect to server seems don't support ftp over ssl
Again, just a suggestion.
Thanks,
Paul Magahis