Browse Source

_tmux added to tmux hosts in ssh_config

master
Dirk Alders 1 year ago
parent
commit
5cf9ddf145
1 changed files with 53 additions and 5 deletions
  1. 53
    5
      ssh_config

+ 53
- 5
ssh_config View File

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
     HostName mount-mockery.de
44
     HostName mount-mockery.de
3
     User root
45
     User root
4
     Port 22
46
     Port 22
5
     RequestTTY yes
47
     RequestTTY yes
6
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
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
     User dirk
51
     User dirk
10
     Port 22
52
     Port 22
11
     RequestTTY yes
53
     RequestTTY yes
12
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
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
 Host multimedia_kb
63
 Host multimedia_kb
15
     HostName 192.168.0.2
64
     HostName 192.168.0.2
16
     User pi
65
     User pi
18
     RequestTTY yes
67
     RequestTTY yes
19
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
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
     User dirk
71
     User dirk
23
-    ProxyCommand ~/bin/pdns-proxy multimedia
72
+    Port 22
24
     RequestTTY yes
73
     RequestTTY yes
25
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
74
     RemoteCommand tmux attach-session -t default_ssh || tmux new-session -s default_ssh
26
-    LocalForward 1880 localhost:1880
27
 
75
 

Loading…
Cancel
Save