diff --git a/programs/ssh.nix b/programs/ssh.nix index f4932ab..006702c 100644 --- a/programs/ssh.nix +++ b/programs/ssh.nix @@ -89,9 +89,8 @@ in "piboat.lan" = { port = 22; user = "pi"; - extraOptions = { - PreferredAuthentications = "password"; - }; + identityFile = "~/.ssh/LAN.pub"; + identitiesOnly = true; }; "webboat" = {