[CentOS] FTPS setup problem

John jses27 at gmail.com
Sun Dec 21 07:44:23 UTC 2008


> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Guy Boisvert
> Sent: Saturday, December 20, 2008 2:30 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] FTPS setup problem
> 
> John wrote:
> > 
> > Why are they not using using Dreamweaver to access the ftp 
> site??? This can
> > be done! Look at the top menus, Sites | Manage Sites | New 
> | FTP or RDP |
> > Then Choose SFTP in the Dropdown Box |.
> > 
> > JohnStanley
> > 
> 
> Hi John,
> 
> 	I'd certainly like to but i am at the config/testing 
> stage!  If i can't 
> validate vsftpd working ok with SSL/TLS, i won't tell my 
> client to try 
> to connect with DreamWeaver.
-------
Tell him to load up Dreamweaver... Here is the answer:

ethans27 sshd[10741]: PAM 1 more authentication failure; logname= uid=0
euid=0 tty=ssh ruser= rhost=ethan27 
Dec 21 02:08:08 
ethans27 sshd[10743]: Accepted password for ethan from 192.168.0.1 port 1938
ssh2
Dec 21 02:08:08 
ethans27 sshd[10743]: pam_unix(sshd:session): session opened for user ethan
by (uid=0)
Dec 21 02:08:08 
ethans27 sshd[10745]: subsystem request for sftp
Dec 21 02:08:09 
ethans27 sshd[10743]: pam_unix(sshd:session): session closed for user ethan
Dec 21 02:08:12 
ethans27 sshd[10763]: Accepted password for ethan from 192.168.0.1 port 1941
ssh2
Dec 21 02:08:12 
ethans27 sshd[10763]: pam_unix(sshd:session): session opened for user ethan
by (uid=0)
Dec 21 02:08:12 
ethans27 sshd[10765]: subsystem request for sftp
Dec 21 02:11:04 
ethans27 sshd[10763]: pam_unix(sshd:session): session closed for user ethan
-----------------
The config file as follows choose one or the other authentication method.

anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/vsftpd.chroot_list
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=NO
ssl_sslv2=YES
ssl_sslv3=NO
rsa_cert_file=/etc/vsftpd/vsftpd.pem

Cert generation:
openssl req -x509 -nodes -days 365 -newkey rsa:1024  -keyout  \
/etc/vsftpd/vsftpd.pem  -out /etc/vsftpd/vsftpd.pem

This configuration as is will work with Dreamweaver 8 and Visual Studio as
tested. Now for Filezilla and the other FTP Utilities I can not account for.
It does chroot the user to his/her home directory.




More information about the CentOS mailing list