summaryrefslogtreecommitdiff
path: root/src/ssh/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssh/config')
-rw-r--r--src/ssh/config6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ssh/config b/src/ssh/config
index b1286d4..2083b48 100644
--- a/src/ssh/config
+++ b/src/ssh/config
@@ -23,7 +23,11 @@ Host 42.42.42.42 example.com
# Get rid of annoying security checks where it doesn't make sense (eg
# throw-away VirtualBox machines).
Host 192.168.56.*
- User user
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
+# Run few setup cmds before starting a shell.
+Host example.com
+ RequestTTY yes
+ RemoteCommand echo foo bar && exec /usr/bin/bash -i
+