ソースを参照

Adaption of ssh-config nagios->firewall

master
Dirk Alders 7ヶ月前
コミット
e4c19b4f22
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      .ssh/config

+ 2
- 2
.ssh/config ファイルの表示

@@ -77,6 +77,7 @@ Host firewall_ext
77 77
     User dirk
78 78
     Port 22
79 79
     RequestTTY yes
80
+    LocalForward 8080 localhost:80
80 81
     ProxyJump dirk@hettingen_jumphost
81 82
 
82 83
 Host firewall_ext_tmux
@@ -85,6 +86,7 @@ Host firewall_ext_tmux
85 86
     Port 22
86 87
     RequestTTY yes
87 88
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
89
+    LocalForward 8080 localhost:80
88 90
     ProxyJump dirk@hettingen_jumphost
89 91
 
90 92
 Host ffe_ext
@@ -164,7 +166,6 @@ Host multimedia_ext
164 166
     RequestTTY yes
165 167
     ProxyJump jump@public_jumphost
166 168
     LocalForward 1888 localhost:1880
167
-    LocalForward 8080 localhost:80
168 169
     LocalForward 8038 localhost:8038
169 170
 
170 171
 Host multimedia_ext_tmux
@@ -175,7 +176,6 @@ Host multimedia_ext_tmux
175 176
     ProxyJump jump@public_jumphost
176 177
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
177 178
     LocalForward 1888 localhost:1880
178
-    LocalForward 8080 localhost:80
179 179
     LocalForward 8038 localhost:8038
180 180
 
181 181
 Host multimedia_kb

読み込み中…
キャンセル
保存