Nov 12 18:36:33 mod_sftp/0.9.8: handling connection from SSH2 client 'WinSCP_release_5.7.6' Nov 12 18:36:33 mod_sftp/0.9.8: error using DisplayLogin 'welcome.msg': No such file or directory Here is the log of the connection attempt: Thanks for the config, exactly this I was searching for.īut it do not work, I get only a "Protocol error" when I try to connect. Now your users are able to login to SFTP using standard FTP Port 21 (and you only need to open that port in your firewall), SSH File Transfer Protocol and will only be able to write to the FTP-Directory (i.e. The setup was quite easy/straight-forward:ġst edit /etc/proftpd/nf and add following line:Ģnd edit /etc/proftpd/sql.conf and add following line:ģrd create file /etc/proftpd/nf with following content:
No interference with standard ssh access.No FTP Protocol (to avoid Firewall-Config-Nightmares).So, what I wanted to achieve was the following: I searched for this solution but couldn't find anything that suited my needs. Just wanted to share some information about setting up proftpd as sftp server with froxlor users.