Setup SSH passthrough script

This commit is contained in:
Luke Murphy
2020-03-23 15:36:55 +01:00
parent f873a3839a
commit f135bb1202
2 changed files with 20 additions and 10 deletions

2
ansible/templates/gitea Executable file
View File

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