From 94f08f5ca042cd2d65379b13767096936f8028ce Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Sun, 25 Jan 2026 22:32:59 -0600 Subject: changes --- hosts/mercury/nixos.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'hosts/mercury/nixos.nix') diff --git a/hosts/mercury/nixos.nix b/hosts/mercury/nixos.nix index 6d269fe..da8b647 100644 --- a/hosts/mercury/nixos.nix +++ b/hosts/mercury/nixos.nix @@ -33,21 +33,21 @@ programs.ssh.extraConfig = '' Host ganymede - HostName williamsfam.us.com - User collin - IdentityFile /home/collin/.ssh/id_ed25519 LocalForward 8010 127.0.0.1:8010 + + Match host ganymede !exec "nc -z -w1 192.168.50.2 2222" + HostName williamsfam.us.com + Port 22 DynamicForward 9090 - Host ganymede-deploy - HostName 192.168.0.2 - User root - IdentityFile /home/collin/.ssh/id_ed25519 + Match host ganymede exec "nc -z -w1 192.168.50.2 2222" + HostName 192.168.50.2 + Port 2222 Host io Hostname 192.168.50.3 - User admin - IdentityFile /home/collin/.ssh/id_ed25519 + + Match host io !exec "nc -z -w1 192.168.50.3 22" ProxyJump ganymede ''; } -- cgit v1.3.1