From bfce5eacd9e7c3d481717ec3c6966ce976a92756 Mon Sep 17 00:00:00 2001 From: Dirk Alders Date: Mon, 29 Jan 2024 17:54:36 +0100 Subject: [PATCH] ext hosts improved --- .ssh/config | 46 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 4 deletions(-) diff --git a/.ssh/config b/.ssh/config index 17ffcdc..41fd349 100644 --- a/.ssh/config +++ b/.ssh/config @@ -107,7 +107,7 @@ Host firewall_ext User dirk Port 22 RequestTTY yes - ProxyJump dirk@multimedia_ext + ProxyJump dirk@hettingen_jumphost Host firewall_ext_tmux HostName firewall @@ -115,7 +115,41 @@ Host firewall_ext_tmux Port 22 RequestTTY yes RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh - ProxyJump dirk@multimedia_ext + ProxyJump dirk@hettingen_jumphost + +Host ffe_ext + HostName ffe + User dirk + Port 22 + RequestTTY yes + ProxyJump dirk@hettingen_jumphost + LocalForward 8038 localhost:8038 + +Host ffe_ext_tmux + HostName ffe + User dirk + Port 22 + RequestTTY yes + RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh + ProxyJump dirk@hettingen_jumphost + LocalForward 8038 localhost:8038 + +Host ffw_ext + HostName ffw + User dirk + Port 22 + RequestTTY yes + ProxyJump dirk@hettingen_jumphost + LocalForward 8038 localhost:8038 + +Host ffw_ext_tmux + HostName ffw + User dirk + Port 22 + RequestTTY yes + RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh + ProxyJump dirk@hettingen_jumphost + LocalForward 8038 localhost:8038 Host test_tmux HostName test @@ -129,7 +163,7 @@ Host test_ext User dirk Port 22 RequestTTY yes - ProxyJump dirk@multimedia_ext + ProxyJump dirk@hettingen_jumphost Host test_ext_tmux HostName test @@ -137,7 +171,7 @@ Host test_ext_tmux Port 22 RequestTTY yes RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh - ProxyJump dirk@multimedia_ext + ProxyJump dirk@hettingen_jumphost Host mm_tmux HostName mount-mockery.de @@ -160,6 +194,8 @@ Host multimedia_ext RequestTTY yes ProxyJump jump@public_jumphost LocalForward 1888 localhost:1880 + LocalForward 8080 localhost:80 + LocalForward 8038 localhost:8038 Host multimedia_ext_tmux HostName localhost @@ -169,6 +205,8 @@ Host multimedia_ext_tmux ProxyJump jump@public_jumphost RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh LocalForward 1888 localhost:1880 + LocalForward 8080 localhost:80 + LocalForward 8038 localhost:8038 Host multimedia_kb HostName 192.168.0.2