Sfoglia il codice sorgente

_tmux added to tmux hosts in ssh_config

master
Dirk Alders 1 anno fa
parent
commit
5cf9ddf145
1 ha cambiato i file con 53 aggiunte e 5 eliminazioni
  1. 53
    5
      ssh_config

+ 53
- 5
ssh_config Vedi File

@@ -1,16 +1,65 @@
1
-Host mm
1
+Host ahorn_tmux
2
+    User dirk
3
+    Port 22
4
+    RequestTTY yes
5
+    RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
6
+
7
+Host alders_tmux
8
+    User dirk
9
+    Port 22
10
+    RequestTTY yes
11
+    RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
12
+
13
+Host buche_tmux
14
+    User dirk
15
+    Port 22
16
+    RequestTTY yes
17
+    RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
18
+
19
+Host erle_tmux
20
+    User dirk
21
+    Port 22
22
+    RequestTTY yes
23
+    RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
24
+
25
+Host ffe_tmux
26
+    User dirk
27
+    Port 22
28
+    RequestTTY yes
29
+    RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
30
+
31
+Host ffw_tmux
32
+    User dirk
33
+    Port 22
34
+    RequestTTY yes
35
+    RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
36
+
37
+Host leyk
38
+    User dirk
39
+    Port 22
40
+    RequestTTY yes
41
+    # RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
42
+
43
+Host mm_tmux
2 44
     HostName mount-mockery.de
3 45
     User root
4 46
     Port 22
5 47
     RequestTTY yes
6 48
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
7 49
 
8
-Host alders ahorn buche multimedia leyk ffe ffw gfw raspiscreen
50
+Host multimedia_tmux
9 51
     User dirk
10 52
     Port 22
11 53
     RequestTTY yes
12 54
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
13 55
 
56
+Host multimedia_ext
57
+    User dirk
58
+    ProxyCommand ~/bin/pdns-proxy multimedia
59
+    RequestTTY yes
60
+    RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
61
+    LocalForward 1880 localhost:1880
62
+
14 63
 Host multimedia_kb
15 64
     HostName 192.168.0.2
16 65
     User pi
@@ -18,10 +67,9 @@ Host multimedia_kb
18 67
     RequestTTY yes
19 68
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
20 69
 
21
-Host multimedia_ext
70
+Host raspiscreen_tmux
22 71
     User dirk
23
-    ProxyCommand ~/bin/pdns-proxy multimedia
72
+    Port 22
24 73
     RequestTTY yes
25 74
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
26
-    LocalForward 1880 localhost:1880
27 75
 

Loading…
Annulla
Salva