Ajout AuthOrder conf sftp virtual

This commit is contained in:
emorino 2019-08-09 09:56:59 +02:00
parent 4e06e00a5b
commit 96bcbd283f

View file

@ -372,6 +372,8 @@ SFTPEngine on
Port 2222 Port 2222
DefaultRoot ~ DefaultRoot ~
SFTPLog /var/log/proftpd/sftp.log SFTPLog /var/log/proftpd/sftp.log
SFTPAuthMethods password publickey SFTPAuthMethods password publickey
@ -382,6 +384,8 @@ SFTPHostKey /etc/ssh/ssh_host_rsa_key
SFTPAuthorizedUserKeys file:/etc/sftp/authorized_keys/%u SFTPAuthorizedUserKeys file:/etc/sftp/authorized_keys/%u
SFTPCompression delayed SFTPCompression delayed
</IfModule> </IfModule>
~~~ ~~~
@ -405,6 +409,7 @@ SFTPHostKey /etc/ssh/ssh_host_ecdsa_key
SFTPHostKey /etc/ssh/ssh_host_rsa_key SFTPHostKey /etc/ssh/ssh_host_rsa_key
SFTPAuthorizedUserKeys file:/etc/proftpd/sftp.passwd.keys/%u SFTPAuthorizedUserKeys file:/etc/proftpd/sftp.passwd.keys/%u
AuthOrder mod_auth_file.c
AuthUserFile /etc/proftpd/vpasswd AuthUserFile /etc/proftpd/vpasswd
RequireValidShell off RequireValidShell off