I have a webserver with gitolite installed and where i login using my ssh key. Normally i just use git on the server itself using the command line but for a new project i ne
Yes, that's it!
I just want to go in details to help the ones starting from scratch:
on windows you can do the following procedure:
If you want to use putty as ssh client, please follow the below steps:
Use System SSH
Client
After that, please use pageant and load the private key
Needed to save my ssh private key as an OpenSSH key in PuTTYgen because SmartGit only understand that format.
I found it easier to change SmartGit | Preference | Commands | Executables to use "C:\Program Files (x86)\Git\bin\git.exe", and then set GIT_SSH=plink in the system env.
If you're using SmartGit on MacOS X, this problem causes an unexpected dialog to be displayed in the Finder:
"SSH - Enter passphrase for key '/Users/username/.ssh/id_rsa':"
And it pops up when SmartGit is launched. It looks like this:
It's odd and confusing how looks like a Finder dialog, with no reference at all to SmartGit. It's usually caused by the SSH key password not being stored in the Keychain Access app. That's where SmartGit will look for it. You'll need to add it in there, like this:
ssh-add -K ~/.ssh/id_rsa (assuming id_rsa is your private key file)
The above command is sometimes needed after restarting your computer. See also these guides: