saltstack/salt

View on GitHub
salt/templates/git/ssh-id-wrapper

Summary

Maintainability
Test Coverage
#!/usr/bin/env sh
OPTS="-oStrictHostKeyChecking=no -oPasswordAuthentication=no -oKbdInteractiveAuthentication=no -oChallengeResponseAuthentication=no"
if test -n "$GIT_IDENTITY"; then
    OPTS="$OPTS -i $GIT_IDENTITY"
fi
exec ssh $OPTS "$@"