mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 23:04:08 +09:00
fix
This commit is contained in:
@@ -3,10 +3,16 @@
|
||||
imports = [ inputs.auth-keys-hub.nixosModules.auth-keys-hub ];
|
||||
|
||||
programs.ssh.startAgent = true;
|
||||
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
PermitRootLogin = "no"; # Prevent root from SSH login
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = true;
|
||||
};
|
||||
ports = [ 22 ];
|
||||
};
|
||||
|
||||
programs.auth-keys-hub = {
|
||||
|
||||
Reference in New Issue
Block a user