Don't allow interactive password authentication either

This commit is contained in:
Charlotte Van Petegem 2022-06-14 18:56:04 +02:00 committed by GitHub
parent 0d89190edc
commit 4a1b9aaf9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,7 @@
ForceCommand internal-sftp
Match user data
PasswordAuthentication no
KbdInteractiveAuthentication no
'';
authorizedKeysFiles = [ "/run/secrets/%u_authorized_keys" ];
};