For complicated reasons (nfs mounts, permissions, etc) I need a special ssh config file to use with git remote. This is actually done quite easily by using a wrapper script:
#!/bin/bash
/usr/bin/ssh -F /path/to/ssh/config $@
Then just export the variable GIT_SSH to point to the wrapper script.
export GIT_SSH='/path/to/ssh_wrap'
No comments:
Post a Comment