i want to use both FTP and SFTP.but when i use this code in proftpd.conf to use SFTP i can't access server on FTP by FileZilla.can i config proftpd to use both FTP and SFTP at the same time.
code in proftpd.conf: DefaultRoot ~
AllowOverwrite on
Umask 002
<IfModule mod_sftp.c>
SFTPEngine On
SFTPHostKey /etc/ssh/ssh_host_rsa_key
SFTPHostKey /etc/ssh/ssh_host_dsa_key
</IfModule>
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
SFTP normally belongs to the SSH server and not to the FTP Server. You dont have to configure proftpd for it as sftp works out of the box if you installed your server as described in the perfect setup guide, just make sure that you enabled ssh access for the website and user.
Recent comments
1 day 5 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 14 hours ago
1 day 15 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 12 hours ago