summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-09-21 18:07:32 +0200
committerAdrian Kummerlaender2018-09-21 18:07:32 +0200
commit2da91a91110d4541fc09266b9ae2456a2b5c0f35 (patch)
tree2f74cf24fcdddfcbd960d9a5f28c20def60bf296
parent0024a2ca7918be83ad812b02348cb49dd2ff2d57 (diff)
downloadnixos_system-2da91a91110d4541fc09266b9ae2456a2b5c0f35.tar
nixos_system-2da91a91110d4541fc09266b9ae2456a2b5c0f35.tar.gz
nixos_system-2da91a91110d4541fc09266b9ae2456a2b5c0f35.tar.bz2
nixos_system-2da91a91110d4541fc09266b9ae2456a2b5c0f35.tar.lz
nixos_system-2da91a91110d4541fc09266b9ae2456a2b5c0f35.tar.xz
nixos_system-2da91a91110d4541fc09266b9ae2456a2b5c0f35.tar.zst
nixos_system-2da91a91110d4541fc09266b9ae2456a2b5c0f35.zip
Disable SSH password logins
-rw-r--r--configuration.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index fef5b26..82e83a6 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -28,6 +28,7 @@
services.openssh = {
enable = true;
+ passwordAuthentication = false;
permitRootLogin = "no";
};
@@ -43,6 +44,7 @@
};
shellInit = ''
+ export TERM=xterm
export LC_NUMERIC=de_DE.UTF8
export LC_TIME=de_DE.UTF8
export LC_MONETARY=de_DE.UTF8