Disable SSH password authentication
This commit is contained in:
parent
5d2bec9d58
commit
68fa9ec21e
|
@ -22,6 +22,7 @@ with pkgs;
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "yes";
|
||||
passwordAuthentication = false;
|
||||
};
|
||||
|
||||
# Cleanup tmp on startup
|
||||
|
@ -33,7 +34,10 @@ with pkgs;
|
|||
home = "/home/coolneng";
|
||||
extraGroups = [ "wheel" "docker" ];
|
||||
openssh.authorizedKeys.keys = [
|
||||
# panacea
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFRqINHR7/zc+c3/PuR+NeSsBHXXzBiEtFWSK6QaxQTW coolneng@panacea"
|
||||
# caravanserai
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPTBWNtNp+vI2So4vISZX/yQv754ZzXqobFgUP3zk4FY zion"
|
||||
];
|
||||
shell = "${fish}/bin/fish";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue