22
0
Fork 0

Ajout AuthOrder conf sftp virtual

This commit is contained in:
emorino 2019-08-09 09:56:59 +02:00
parent 4e06e00a5b
commit 96bcbd283f
1 changed files with 5 additions and 0 deletions

View File

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