For some people in my team, I was getting this error in spite of having done all the configurations right (as mentioned in the earlier post ) - environment variable & config file changes
So I tried to retrace my steps by removing the variables (user name and password) from the environment variables and checking for the connectivity.
And it worked!
It was probably having some problem in creating the tunnel for the first time.
Once it created the tunnel and prompted me for the password for the first time, going forward it had no problems in taking the credentials from the environment variable.
So if you face somethings similar, I would suggest that you check for establishing the basic connectivity first.
Showing posts with label RapidSVN. Show all posts
Showing posts with label RapidSVN. Show all posts
Thursday, September 2, 2010
Sunday, August 15, 2010
Configuring RapidSVN over SVN+SSH
I spent a lot of time in trying to setup RapidSVN to work over SSH. Each time I would try to open a repository, it would throw up an error of "Cannot create tunnel: The system cannot find the file specified." The problem is that RapidSVN does not know how to handle SSH...
After searching a lot, I chanced upon Diogo Gomes's blog on Using svn+ssh with RapidSVN
Diogo suggests using Plink.exe but the Putty session started hanging and there was the problem of the Plink window opening up, each time RapidSVN would try to connect to the repository.
A simpler solution worked for me, using TortoisePlink.exe. This solution also takes care of the password caching by passing the username and password directly to the TortoisePlink through a environment variable. If you do not want to pass the credentials, simply avoid passing the parameters in the environment variable.
So here goes...
Step 1 : Add TortoisePlink.exe path to the Environment Variable
* Please note the "\\" in the path and the parameter for username is a small "el".
Step 2 :The same path needs to be added to the Subversion config file. You can locate this file in Application Data/Subversion/config
Two simple configurations and you are set!
After searching a lot, I chanced upon Diogo Gomes's blog on Using svn+ssh with RapidSVN
Diogo suggests using Plink.exe but the Putty session started hanging and there was the problem of the Plink window opening up, each time RapidSVN would try to connect to the repository.
A simpler solution worked for me, using TortoisePlink.exe. This solution also takes care of the password caching by passing the username and password directly to the TortoisePlink through a environment variable. If you do not want to pass the credentials, simply avoid passing the parameters in the environment variable.
So here goes...
Step 1 : Add TortoisePlink.exe path to the Environment Variable
Variable: SVN_SSH
Value: C:\\TortoisePlink.exe -l [username]-pw [password]
Step 2 :The same path needs to be added to the Subversion config file. You can locate this file in Application Data/Subversion/config
# ssh = $SVN_SSH C:/TortoisePlink.exe* Please note the "/" in the path.
Two simple configurations and you are set!
Subscribe to:
Posts (Atom)