mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
removed password ssh
This commit is contained in:
parent
c558c72c4c
commit
da0b6d524b
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
||||||
services = {
|
services = {
|
||||||
sshd.enable = true;
|
sshd.enable = true;
|
||||||
openssh.settings = {
|
openssh.settings = {
|
||||||
|
passwordAuthentication = false;
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = "no";
|
||||||
X11Forwarding = true;
|
X11Forwarding = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue