github.com/chasestarr/deis@v1.13.5-0.20170519182049-1d9e59fbdbfc/tests/bin/git-ssh-nokeycheck.sh (about) 1 #!/bin/sh 2 # 3 # Allows git to exec SSH but bypass auth warnings. 4 # To use, export the environment variable GIT_SSH as the location of this script, 5 # then run git commands as usual: 6 # $ export GIT_SSH=$HOME/bin/git-ssh-nokeycheck.sh 7 8 SSH_ORIGINAL_COMMAND="ssh $@" 9 ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "$@"