summaryrefslogtreecommitdiff
path: root/900-implements.yarn
diff options
context:
space:
mode:
Diffstat (limited to '900-implements.yarn')
-rw-r--r--900-implements.yarn5
1 files changed, 4 insertions, 1 deletions
diff --git a/900-implements.yarn b/900-implements.yarn
index 976e0ce..4fae633 100644
--- a/900-implements.yarn
+++ b/900-implements.yarn
@@ -30,8 +30,11 @@
IMPLEMENTS WHEN user runs Gitano (.*)
address = os.environ['ADDRESS']
+ sshkey = os.environ['SSH_KEY']
cmd = get_next_match()
- argv = ['ssh', 'git@' + address] + cmd.split()
+ argv = [
+ 'ssh', '-oIdentitiesOnly=yes', '-i', sshkey, 'git@' + address
+ ] + cmd.split()
exit, out, err = cliapp.runcmd_unchecked(argv)
vars['argv'] = argv
vars['exit'] = int(exit)