laipower/wp-content/upgrade-temp-backup/plugins/gitium/inc/ssh-git

9 lines
211 B
Plaintext
Raw Normal View History

2023-12-08 23:23:36 +00:00
#!/bin/sh
SSH_AUTH_SOCK=''
SSH="ssh -q -F /dev/null -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
if [ -z "$GIT_KEY_FILE" ] ; then
exec $SSH "$@"
else
exec $SSH -i "$GIT_KEY_FILE" "$@"
fi