Ajout AuthOrder conf sftp virtual
This commit is contained in:
parent
4e06e00a5b
commit
96bcbd283f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue