Issue
I have to check some code and run it. I have the URL:
svn+ssh://[email protected]/home/svn/project/trunk
I have a file with their private key. What do I do to get this code?
Solution
The private key goes on the client machine, often named as ~/.ssh/id_rsa
, ~/.ssh/id_dsa
, or ~/.ssh/identity
depending on the SSH version and the type of key. However, you can just use ssh -i path/to/private.key
.
This is presuming that the corresponding public key exists on the server in ~/.ssh/authorized_keys
, and that your local machine is running the OpenSSH client. If you are using PuTTY on Windows, simply open up the Pageant program, and import the key via the GUI.
Answered By - ephemient