TortoiseSVN, HTTPS, and SSH Tunnel

681 views
Skip to first unread message

BRM

unread,
Nov 6, 2008, 4:55:21 PM11/6/08
to d...@tortoisesvn.tigris.org
I've got a setup where we use an SSH Tunnel generated through Putty to access our repository from an external network which is hosted by Apache2/SSL WebDAV SVN configuration.

Currently I have users starting an SSH Tunnel with Putty directly - configuring a headless SSH session that auto-logins in using a Public-Private key, then interacting with the repository via TSVN.

From what I can tell, SVN/TSVN supports tunneling through SSH for the non-Apache2 Subversion Server (ssh+svn protocol). However, at least what I've seen this does not seem to be a directly supported method.

Is there a way to get SVN or (more importantly to me) TSVN to use this kind of configuration internally using Plink?

I don't care if my users still have to specially configure a Putty Session for the Tunneling, though it would be nice if they didn't.

TIA,

Ben


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-uns...@tortoisesvn.tigris.org
For additional commands, e-mail: dev-...@tortoisesvn.tigris.org

Simon Large

unread,
Nov 6, 2008, 5:19:12 PM11/6/08
to d...@tortoisesvn.tigris.org
2008/11/6 BRM <bm_wi...@yahoo.com>:

> I've got a setup where we use an SSH Tunnel generated through Putty to access our repository from an external network which is hosted by Apache2/SSL WebDAV SVN configuration.
>
> Currently I have users starting an SSH Tunnel with Putty directly - configuring a headless SSH session that auto-logins in using a Public-Private key, then interacting with the repository via TSVN.
>
> From what I can tell, SVN/TSVN supports tunneling through SSH for the non-Apache2 Subversion Server (ssh+svn protocol). However, at least what I've seen this does not seem to be a directly supported method.
>
> Is there a way to get SVN or (more importantly to me) TSVN to use this kind of configuration internally using Plink?
>
> I don't care if my users still have to specially configure a Putty Session for the Tunneling, though it would be nice if they didn't.

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-network

Set up the command line in TSVN->Settings->Network

Use TortoisePlink in place of Plink once it is working to avoid
command windows popping up all the time.

Simon

--
: ___
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net

BRM

unread,
Nov 6, 2008, 9:28:06 PM11/6/08
to d...@tortoisesvn.tigris.org
Cool.
Thanks.

Ben

BRM

unread,
Nov 19, 2008, 9:33:33 AM11/19/08
to d...@tortoisesvn.tigris.org
Ok, I checked into this and setup TortoisePlink:

TortoisePlink -load puttyProfile

However, I am not able to get it to work.
If I try "ssh+https://..." it says it doesn't recognize the protocol set.
If I try "https+ssh//..." it can't find the server.

I tried running TortoisePlink from the command-line, but didn't see anything - nothing seemed to generate any error so far as I could tell.

Any tips?

TIA,

Ben

----- Original Message ----
From: Simon Large <simon.to...@googlemail.com>
To: d...@tortoisesvn.tigris.org
Sent: Thursday, November 6, 2008 5:19:12 PM
Subject: Re: TortoiseSVN, HTTPS, and SSH Tunnel

Simon Large

unread,
Nov 19, 2008, 10:36:54 AM11/19/08
to d...@tortoisesvn.tigris.org
2008/11/19 BRM <bm_wi...@yahoo.com>:

> Ok, I checked into this and setup TortoisePlink:
>
> TortoisePlink -load puttyProfile
>
> However, I am not able to get it to work.
> If I try "ssh+https://..." it says it doesn't recognize the protocol set.
> If I try "https+ssh//..." it can't find the server.
>
> I tried running TortoisePlink from the command-line, but didn't see anything - nothing seemed to generate any error so far as I could tell.
>
> Any tips?
>

Get it working with command line plink first. You will need the latest
version from the PuTTY website to be compatible. TortoisePlink is
simply Plink compiled to run without a console window, so you don't
get to see any error mesages.

BRM

unread,
Nov 20, 2008, 11:23:32 AM11/20/08
to d...@tortoisesvn.tigris.org
I have plink working from the command-line.
However, I am still unable to get TortoisePlink to work.

I tried the '-v' option for TortoisePlink (for verbose) but did not see anything.
Is there a way to get to any log data for TortoisePlink?

I tried enabling the 'logging' in Putty (Session->Logging category). But even plink doesn't generate the log file. (Putty did, so I know it works.)
TortoisePlink did not either.

TIA,

Ben

----- Original Message ----
From: Simon Large <simon.to...@googlemail.com>
To: d...@tortoisesvn.tigris.org
Sent: Wednesday, November 19, 2008 10:36:54 AM
Subject: Re: TortoiseSVN, HTTPS, and SSH Tunnel

Stefan Küng

unread,
Nov 20, 2008, 2:00:24 PM11/20/08
to d...@tortoisesvn.tigris.org
BRM wrote:
> I have plink working from the command-line.
> However, I am still unable to get TortoisePlink to work.

Is this version 0.60 of Plink?

> I tried the '-v' option for TortoisePlink (for verbose) but did not see anything.
> Is there a way to get to any log data for TortoisePlink?

Nope, sorry. TortoisePlink is Plink, but without the console window so
you won't get any output there.

Stefan

signature.asc

BRM

unread,
Nov 20, 2008, 2:10:52 PM11/20/08
to d...@tortoisesvn.tigris.org
Yes it is version 0.60.

And I had tried "plink" with the verbose options. But did not see anything useful there.

Might I suggest modifying the command-line option output then for TortoisePlink and removing (or at least marking and noting) the options that affectively do nothing?
(Just a thought...)

Ben

----- Original Message ----
From: Stefan Küng <torto...@gmail.com>
To: d...@tortoisesvn.tigris.org

Sent: Thursday, November 20, 2008 2:00:24 PM
Subject: Re: TortoiseSVN, HTTPS, and SSH Tunnel

Stefan

---------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages