AlexanderPavlenko
2/5/2012 - 11:28 AM

git ssh keys provider

git ssh keys provider

#!/bin/sh
key=$(git config ssh.key)
 
if [ -z "$key" ]; then
  git_opts=""
else
  git_opts="-i ${key}"
fi
 
exec ssh $git_opts "$@"
GIT_SSH="/home/alerticus/bin/git-ssh"