Verify SVN + SSH over VPN using the SVN Turtle, Smartsvn crash

System and Connection Information

I am using a 64-bit system running Windows 7. I have 64-bit Open VPN and Tortoise SVN installed.

The repository is on the remote system and we are connecting to the VPN.

What have i done so far

I have completed the necessary steps to initiate a VPN connection -

  • Added some project-specific configuration files in the config folder of the Open VPN installation path. These files were taken from the working settings of team members.
  • Initiated opening of a VPN connection using a user.
  • launched Putty Pageant.exe, selected the .ppk file and entered the passphrase.

Everything is fine before that.

Then I went to the local directory and tried to check the URL of the remote repository using Tortoise SVN. But this causes the following error:

Error sending

To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.
Network connection closed unexpectedly

The following is the contents of the [tunnels] section of my Subversion configuration file -

### Section for configuring tunnel agents.
[tunnels]
### Configure svn protocol tunnel schemes here.  By default, only
### the 'ssh' scheme is defined.  You can define other schemes to
### be used with 'svn+scheme://hostname/path' URLs.  A scheme
### definition is simply a command, optionally prefixed by an
### environment variable name which can override the command if it
### is defined.  The command (or environment variable) may contain
### arguments, using standard shell quoting for arguments with
### spaces.  The command will be invoked as:
###   <command> <hostname> svnserve -t
### (If the URL includes a username, then the hostname will be
### passed to the tunnel agent as <user>@<hostname>.)  If the
### built-in ssh scheme were not predefined, it could be defined
### as:
# ssh = $SVN_SSH ssh
### If you wanted to define a new 'rsh' scheme, to be used with
### 'svn+rsh:' URLs, you could do so as follows:
# rsh = rsh
### Or, if you wanted to specify a full path and arguments:
# rsh = /path/to/rsh -l myusername
### On Windows, if you are specifying a full path to a command,
### use a forward slash (/) or a paired backslash (\\) as the
### path separator.  A single backslash will be treated as an
### escape for the following character.

Is this section mentioned in error? I do not see any option -qthere . What to do now.

Note. I also asked the same question in Superuser - https://superuser.com/q/295439/50101 . I had no answers. Let me know if it needs to be removed / closed.

Update
I tried with Smartsvn 6. While Openvpn gui is running and running in custody, I selected authentication with public / private key, selected the .ppk file and entered the missing phrase. I get this error -

An error occurred while processing an SVN command 
File '\path\to\key-file.ppk' is not a valid OpenSSH DSA or RSA private key file.

? ? - ? 32- Windows xp, . , 64- Windows 7, .


URL- , , svn + ssh://@...com/var/svn/reposito ries//

- . VPN ( .ppk,.key,.crt vpn).

3
RSA/DSA puttygen 3 " " β†’ 1. SSH-1(RSA) 2. SSH-2 RSA 3. SSH-2 DSA. SSH-1(RSA). . , . Tortoise SVN β†’ settings β†’ Network β†’ SSH Client β†’ pageant.exe. checkout- > " ( )", -

To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.
Network connection closed unexpectedly

4
( , 64- Windows 7, , ) . , SVN + SSH VPN-? ?

+3
2

! OpenVPN GUI .

, -

"" β†’ "OpenVPN GUI" β†’ , "" (OpenVPN).


OpenVPN , "Open Read me". readme, - " Windows Vista OpenVPN GUI ". , , Windows 7, ! . , .

0

mkro, .ppk Putty. Putty DSA, RSA PPK, , , ( Putty), SSH, DSA RSA.

Linux, , puttygen, , , . , Ubuntu :

$ sudo apt-get install putty-tools
$ puttygen <your.ppk> -O private-openssh -o <whatever you want to name it>
+2

All Articles