We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8219926 commit e7d34a5Copy full SHA for e7d34a5
1 file changed
ssh/config.d/csc.conf
@@ -1,12 +1,12 @@
1
# CSC servers
2
3
-Host lumi mahti puhti
+Host lumi mahti puhti roihu
4
User mikamaki
5
ForwardAgent yes
6
PasswordAuthentication no
7
ForwardX11 yes
8
RequestTTY yes
9
- RemoteCommand tmux has-session && tmux set-environment SSH_AUTH_SOCK "$SSH_AUTH_SOCK" \; attach-session || tmux new-session
+ RemoteCommand command -v tmux >/dev/null && (tmux has-session && tmux set-environment SSH_AUTH_SOCK "$SSH_AUTH_SOCK" \; attach-session || tmux new-session)
10
11
Host lumi
12
HostName lumi.csc.fi
@@ -16,3 +16,6 @@ Host mahti
16
17
Host puhti
18
HostName puhti.csc.fi
19
+
20
+Host roihu
21
+ HostName roihu.csc.fi
0 commit comments