summaryrefslogtreecommitdiff
path: root/ssh-config.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2020-03-25 20:45:27 +0200
committerLars Wirzenius <lwirzenius@wikimedia.org>2020-03-25 20:45:27 +0200
commit52df9ea0096cc8beff70312dde81213ca082a839 (patch)
treedc6783043c872bca78a7bc7ef0c108597ba41f42 /ssh-config.yaml
parent63fee07ac5fd9dbe917b0692966139d08dda329a (diff)
downloadwmf-ssh-config-master.tar.gz
Change: add new work servers, home access from the outsideHEADmaster
Diffstat (limited to 'ssh-config.yaml')
-rw-r--r--ssh-config.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssh-config.yaml b/ssh-config.yaml
index 9863c86..606d625 100644
--- a/ssh-config.yaml
+++ b/ssh-config.yaml
@@ -1,6 +1,9 @@
-- when: I run ssh (?P<host>\S+) (?P<cmd>.+)
+- when: I run ssh (?P<host>\S+) (?P<cmd>\S+)
function: run_ssh
+- when: I run ssh -J (?P<jumphost>\S+) (?P<host>\S+) (?P<cmd>\S+)
+ function: run_ssh_with_jumphost
+
- when: I run git clone (?P<repo>\S+)
function: run_git_clone