Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
Actually you can have FTP and SFTP provided both by ProFTPd, depending on the configuration. –  sjas Jun 5 at 13:15
add comment

3 Answers

up vote 1 down vote accepted

Shut down ProFTPd. SFTP is provided by OpenSSH, not ProFTPd.

share|improve this answer
    
ok, does openssh have conf files? –  Tim Sep 3 '10 at 7:17
    
Yes​, it does​. –  Ignacio Vazquez-Abrams Sep 3 '10 at 7:38
    
ok....any idea where they might be? I couldnt find anything in /etc (debian) –  Tim Sep 3 '10 at 7:40
    
/etc/ssh/sshd_config is the configuration file for the openssh server. –  Fladi Sep 3 '10 at 8:10
add comment

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

HTH Marcel

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.