Don't allow interactive password authentication either
This commit is contained in:
parent
0d89190edc
commit
4a1b9aaf9a
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
ForceCommand internal-sftp
|
||||
Match user data
|
||||
PasswordAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
'';
|
||||
authorizedKeysFiles = [ "/run/secrets/%u_authorized_keys" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue