| | | |
| You should now be able to log in to silenceisdefea | | You should now be able to log in to silenceisdefea |
| t.org using SSH Key Authentication. | | t.org using SSH Key Authentication. |
| | | |
| These instructions written by silenceisdefeat user | | These instructions written by silenceisdefeat user |
| samble. Holler on IRC if you use this guide. | | samble. Holler on IRC if you use this guide. |
| | | |
| t | Retrieved from "http://silenceisdefeat.org/wiki/in | t | Retrieved from "http://silenceisdefeat.org/wiki/in |
| dex.php/SSH_Key_Authentication" | | dex.php/SSH_Key_Authentication"
|
| | |
|
| | |
|
| | | From: Alexandre Quesnel <alexandre.quesnel@mail.mc |
| | | gill.ca>
|
| | | Date: Sat, 6 Aug 2005 03:45:00 -0400
|
| | | Content-Type: text/plain;
|
| | | charset="us-ascii"
|
| | | Subject: subclipse with svn+ssh solution
|
| | |
|
| | |
|
| | | I'm using subclipse 0.9.32 on windows and I was ha |
| | | ving lots of trouble
|
| | | trying to get svn+ssh to work. After too much wast |
| | | ed time and giving up
|
| | | several times I finally found the solution and I t |
| | | hough that it would be
|
| | | well worth my while to post it here.
|
| | |
|
| | | I got the solution from Tim on the subversion mail |
| | | ing list
|
| | | http://subversion.tigris.org/servlets/ReadMsg?list |
| | | =users&msgNo=13453
|
| | | but I'll repeat it.
|
| | |
|
| | | First of all the problem is characterised by getti |
| | | ng the following message
|
| | | in the svn console:
|
| | |
|
| | | The system cannot find the file specified.
|
| | | svn: Can't create tunnel: The system cannot find t |
| | | he file specified.
|
| | |
|
| | | The solution to this is to tell svn where it can f |
| | | ind the ssh executable. To
|
| | | do this you need to add the following line to the |
| | | svn config file. On
|
| | | windows the file can be found at:
|
| | |
|
| | | C:\Documents and Settings\[user_name]\Application |
| | | Data\Subversion\config
|
| | |
|
| | | In this file there are sections one of which is [t |
| | | unnels] . Make sure this
|
| | | section head is uncommented (there is no # at the |
| | | beginning of the line)
|
| | | After the section head look for a like that starts |
| | | with 'ssh = ' if you
|
| | | don't find that line then add the following, if yo |
| | | u do find it then modify
|
| | | it to the following:
|
| | |
|
| | | ssh = [path_to_ssh_client]
|
| | |
|
| | | for example I use:
|
| | |
|
| | | ssh = D:/TortoiseSVN/bin/TortoisePlink.exe
|
| | |
|
| | | I find the tortisesvn version of plink better than |
| | | the original version of
|
| | | plink because it doesn't pop up an annoying cmd wi |
| | | ndow every time you use
|
| | | svn. That's it, it should work now. Next you will |
| | | want to set up an ssh key
|
| | | with the server so that you don't need to type in |
| | | your password an
|
| | | innumerable number of times. Check out:
|
| | |
|
| | | http://silenceisdefeat.org/wiki/index.php/SSH_Key_ |
| | | Authentication
|
| | |
|
| | | for a pretty good howto. The steps are pretty simp |
| | | le: generate the keys,
|
| | | post the public key on the server, connect. Now yo |
| | | u will need to fix up the
|
| | | Subversion\config file to go along with the change |
| | | s. Modify the line that
|
| | | was added before to be:
|
| | |
|
| | | ssh = [path_to_ssh_client] -2 -i [path_to_private_ |
| | | key_file]
|
| | |
|
| | | for example I use:
|
| | |
|
| | | ssh = D:/TortoiseSVN/bin/TortoisePlink.exe -2 -i
|
| | | D:/TortoiseSVN/bin/ssh2-DSA-1024.ppk
|
| | |
|
| | | The -2 is because I need to force the use of ssh v |
| | | ersion 2 from generating a
|
| | | DSA key. I also don't put a passphrase on my key b |
| | | ut that's because I feel
|
| | | that my workstation is fairly secure. Now subclips |
| | | e should work with svn+ssh
|
| | | and have key auth to the server.
|
| | |
|
| | | Hope you found this helpful.
|
| | |
|
| | | Alex |