forgejo-app/test/git_ssh_wrapper.sh

6 lines
197 B
Bash
Raw Normal View History

2015-11-25 08:28:22 +00:00
#!/bin/bash
readonly SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ssh -o IdentitiesOnly=yes -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i ${SCRIPT_DIR}/id_rsa "$@"