no pwauth

This commit is contained in:
Peder Bergebakken Sundt 2024-05-31 00:01:16 +02:00
parent 13b258a8e3
commit 438445dcbb
3 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
{
services.openssh.enable = true;
services.openssh.settings.X11Forwarding = true;
services.openssh.settings.PasswordAuthentication = false;
services.fail2ban.enable = true;
}

View File

@ -72,6 +72,7 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOm2UFDD+qsnKvlBBZ/nhBqY9yeLewwF/bexD2SUL7E3 pbsds@sopp"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL6eTQkxO/1XflHpGf3478+Z7HFYYaf1d4M6mvSK2nAU root@sopp"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJVohqGMKp/UEZtb71RSBBXOEGX4o3lN5GYBlP7HEKbs root@brumlebasse"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILocbYCqu63RT2+mE0l+ZWWw9RVHNcydtLXbLklg6oPe pederbs@pvv"
];
};
}

View File

@ -46,7 +46,6 @@
# ntnu
"stud.ntnu.no".hostname = "login.stud.ntnu.no";
"login.stud.ntnu.no" = {};
#"clab15.idi.ntnu.no" = {};
"idun-login1.hpc.ntnu.no" = {};
"snotra-login1.idi.ntnu.no" = {};
"oppdal.idi.ntnu.no" = {};