mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
ssh config
This commit is contained in:
parent
1991b7f095
commit
2c5a7a46cf
@ -7,8 +7,6 @@
|
|||||||
#ports = [ 22 ];
|
#ports = [ 22 ];
|
||||||
# Use authorized keys only.
|
# Use authorized keys only.
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = false;
|
||||||
# Forbid/Limit root login through SSH.
|
|
||||||
#settings.PermitRootLogin = "no";
|
|
||||||
settings.PermitRootLogin = "prohibit-password";
|
settings.PermitRootLogin = "prohibit-password";
|
||||||
# Enabling this is required for commands such as sftp and sshfs.
|
# Enabling this is required for commands such as sftp and sshfs.
|
||||||
allowSFTP = false;
|
allowSFTP = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user