We have a Debian Linux box with proftpd, we have both FTP and SFTP running, but we would like to disable regular FTP and just leave the SFTP running
Is there some way to do this?
We have a Debian Linux box with proftpd, we have both FTP and SFTP running, but we would like to disable regular FTP and just leave the SFTP running
Is there some way to do this?
I haven't used ProFTPd my self in quite some time, but remembered it having FTPS support.
So do you really mean SFTP or did you mean FTPS? The earlier being the SSH implementation of a protocol with similar capabilities as FTP and the later being FTP secured by SSL/TLS.
on a quick search I found the following document on FTPS in ProFTPd http://www.proftpd.org/docs/howto/TLS.html
It's been a while since this was first asked, but ProFTPD does support FTP, FTPS (via mod_tls
), and SFTP (via mod_sftp
) now.
And to answer the question, you can configure ProFTPD to:
The same rich, configurable logging that ProFTPD does for FTP transfers is done for SFTP transfers.
I recommend using SSH as well. Most FTP clients will support it. Also, if you add /usr/libexec/sftp-server
(or whatever the path is on your system) to /etc/shells
. You can grant SFTP access without giving full shell access.
One thing I do not like about openssh's SFTP protocol is, by default, it does not log transfers. If you need to log transfers, then you may want to check into VS-FTP. I am pretty sure VS-FTP supports FTP over SSL and SFTP as well as transfer logging. VS-FTP is default on Red Hat 5, I think.