Disallow password auth for data user
This commit is contained in:
parent
1de2b2813d
commit
535f3db618
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@
|
|||
AllowTcpForwarding no
|
||||
AllowAgentForwarding no
|
||||
ForceCommand internal-sftp
|
||||
Match user data
|
||||
PasswordAuthentication no
|
||||
'';
|
||||
authorizedKeysFiles = [ "/run/secrets/%u_authorized_keys" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue