From 4a5434504cd1ee6be079ab28b17b0f756dff28ae Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 14 Sep 2023 14:42:49 +0200 Subject: [PATCH] ssh config for yodaYoga --- assets/ssh/known_hosts | 2 ++ modules/ssh.nix | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/assets/ssh/known_hosts b/assets/ssh/known_hosts index 5a59d1b..5dc6dfa 100644 --- a/assets/ssh/known_hosts +++ b/assets/ssh/known_hosts @@ -4,3 +4,5 @@ [yodaTux.localhost]:22 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII1QKkJg9ekAAxTADCXIvHylrYOc6EdEyKUmKaQhaW3e # 2023-03 pi3bplus with Arch Linux fckjpbxxim36c1gb.myfritz.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIhyhbuidl8RIV6pvzXJVJLP2GRK9aCAk/aMSuNts0Bv +# 2023-09 yodaYoga with NixOS +192.168.178.99 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsiBDYIJOPZkOA4a2wNyFGyLgKy5ihAVLH63f/+4dZJ diff --git a/modules/ssh.nix b/modules/ssh.nix index bfd9465..d2b216a 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -24,6 +24,12 @@ enable = true; userKnownHostsFile = "~/.ssh/known_hosts ${../assets/ssh/known_hosts}"; matchBlocks = { + "yodaYoga" = { + hostname = "192.168.178.99"; + user = "yoda"; + port = 22; + compression = false; + }; "pi3bplus" = { hostname = "fckjpbxxim36c1gb.myfritz.net"; user = "yoda";