summaryrefslogtreecommitdiff
path: root/ssh-config.yaml
diff options
context:
space:
mode:
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