ajaxorg/cloud9 — pull request #2324 by rngadam (2012-10-15 11:59:30+00:00)
Title: git: support providing GIT_SSH environment variable to git

From cloud9 configuration. This lets us substitute the environment ssh for a customized script with options to (for example) use arbitrary keys or disable strict host checking prompt.

Example script:
````
#!/bin/sh
# works with OpenSSH_5.9p1
# For use in the lmc and cloud9 internals to use per-"user"
# keys and disable host checking.
DIRNAME=`pwd`
KEYNAME="$DIRNAME/../.ssh/github"
exec /usr/bin/ssh -i $KEYNAME -o StrictHostKeyChecking=false "$@"
````

example config (configs/lophilo.js):

````
{
packagePath: "./cloud9.ide.git",
sshPath: "/home/lophilo/lophilo/lmc/ssh"
},
````