[Proftpd-user] SFTP with virtual users file

tach yon <[email protected]> Thu, 6 Apr 2023 10:56:14 +0000
Newsgroups gmane.network.proftpd.user
Message-ID <AM7PR09MB3832BFFEF4481BE9C95EA0A798919@AM7PR09MB3832.eurprd09.prod.outlook.com>
Dear proftp,

I'm trying to set up proftpd to provide SFTP for virtual users on port 2222, but unfortunately I don't see proftpd binding to port 2222. I've not been able to find any errors in /var/log/proftpd/sftp.log or /var/log/messages.

I was wondering if someone might be able to spot something I'm doing wrong please?

Thank you in advance for your time and consideration!

<IfModule mod_sftp_pam.c>
  SFTPPAEngine on
  SFTPPAMServiceName sftp
</IfModule>

SFTPEngine on
Port 2222
SFTPLog /var/log/proftpd/sftp.log

# Configure host keys
SFTPHostKey /etc/ssh/ssh_host_rsa_key
SFTPHostKey /etc/ssh/ssh_hostecdsa_key

SFTPAuthMethods password

DefaultRoot ~
RequireValidShell off
AuthUserFile /usr/local/etc/proftpd/ftpd.passwd
AuthGroupFile /usr/local/etc/proftpd/ftpd.group
AuthOrder mod_auth_file.c
UserReverseDNS off

SFTPCompression delayed


Kind regards,
T

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html