From c57bf769698f84bad18978017a695541ae2440eb Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Tue, 14 Jan 2025 15:51:34 +0100 Subject: [PATCH] Add BSC machines to ssh config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Aleix Boné --- m/common/base/ssh.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/m/common/base/ssh.nix b/m/common/base/ssh.nix index 5e12ede..7d7b939 100644 --- a/m/common/base/ssh.nix +++ b/m/common/base/ssh.nix @@ -13,10 +13,16 @@ in Host bscpm02.bsc.es bscpm03.bsc.es gitlab-internal.bsc.es alya.gitlab.bsc.es User git ProxyCommand nc -X connect -x hut:23080 %h %p + + # Connect to BSC machines via hut proxy too + Host amdlogin1.bsc.es armlogin1.bsc.es hualogin1.bsc.es glogin1.bsc.es glogin2.bsc.es fpgalogin1.bsc.es + ProxyCommand nc -X connect -x hut:23080 %h %p ''; programs.ssh.knownHosts = hostsKeys // { "gitlab-internal.bsc.es".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF9arsAOSRB06hdy71oTvJHG2Mg8zfebADxpvc37lZo3"; "bscpm03.bsc.es".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM2NuSUPsEhqz1j5b4Gqd+MWFnRqyqY57+xMvBUqHYUS"; + "glogin1.bsc.es".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFsHsZGCrzpd4QDVn5xoDOtrNBkb0ylxKGlyBt6l9qCz"; + "glogin2.bsc.es".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFsHsZGCrzpd4QDVn5xoDOtrNBkb0ylxKGlyBt6l9qCz"; }; }