aboutsummaryrefslogtreecommitdiff
path: root/hosts/sagittarius/ssh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sagittarius/ssh.nix')
-rw-r--r--hosts/sagittarius/ssh.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/sagittarius/ssh.nix b/hosts/sagittarius/ssh.nix
new file mode 100644
index 0000000..8c80a53
--- /dev/null
+++ b/hosts/sagittarius/ssh.nix
@@ -0,0 +1,10 @@
+{ ... }: {
+ services.openssh = {
+ enable = true;
+ settings = {
+ PermitRootLogin = "no";
+ PasswordAuthentication = false;
+ AllowUsers = [ "ascella" ];
+ };
+ };
+}