Wire up the SSH passthrough

This commit is contained in:
Luke Murphy
2020-03-23 18:07:49 +01:00
parent 291175340e
commit 0cc68fea6d
2 changed files with 13 additions and 1 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh
ssh -p $GIT_SSH_PORT -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
ssh -p {{ ssh_listen_port }} -o StrictHostKeyChecking=no git@{{ dokku_container_ip }} "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"