I\'m trying to setup a git client on linux. I uploaded my private key to the machine, and I understand that I should put it in ~/.ssh, but I don\'t have access to that folder.>
I would have said put the file name in ~/.ssh/config
, but you likely would not have access to this file, too.
You can give ssh
the private key to use with the -i keyfile
option.
Now how to say git which options to pass to ssh?
The GitTips page says create a wrapper script and point to it with the GIT_SSH
environment variable.
It looks like you also can use the git configuration core.gitProxy
, but I did not find a good example and some mailing list message suggests it is only for the git:
protocol.