Просмотр исходного кода

Adaption of ssh-config nagios->firewall

master
Dirk Alders 8 месяцев назад
Родитель
Сommit
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

Загрузка…
Отмена
Сохранить