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