From 46f976dcc9ff4358c8395227bab67266248e0784 Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Tue, 14 Jan 2025 11:08:05 -0600 Subject: [PATCH] ssh: add jump host --- hosts/default.toml | 1 + templates/.ssh/config | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/hosts/default.toml b/hosts/default.toml index 48ff7be..781d4e2 100644 --- a/hosts/default.toml +++ b/hosts/default.toml @@ -10,6 +10,7 @@ terminal = "alacritty" lock-cmd = "swaylock -c 000000" display-on-cmd = "wlopm --on '*'" display-off-cmd = "wlopm --off '*'" +use-jump-host = false inputs = [] diff --git a/templates/.ssh/config b/templates/.ssh/config index aed27eb..5e80247 100644 --- a/templates/.ssh/config +++ b/templates/.ssh/config @@ -2,3 +2,8 @@ AddKeysToAgent confirm Host *.mst.edu User um-ad\ajgq56 + +% if host['use-jump-host']: +Host *.flock.wg + ProxyJump goose@reliant.gaussian.dev +% endif