Thanks again
On Dec 3, 7:06 pm, Stefan Kueng <tortoise..._at_gmail.com> wrote:
> JonB wrote:
> > Thanks for the quick reply, sorry that wasn't clear - I should know
> > better :-( Apologies again I got the close quote in the wrong place
> > the thread to google for is titled "Tortoisesvn 1.5.1 Checkout broken"
> > - tryhttp://svn.haxx.se/tsvnusers/archive-2008-07/0809.shtmlfor a
> > view of the thread, this might have made it a little clearer!
>
> > As per the web instructions I linked to I set up a new tunnel config
> > for svn by adding the following line under the [tunnels] section in
> > the config file ( for me C:\Documents and Settings\Jonathan Booth
> > \Application Data\Subversion\config ):
>
> > ### Section for configuring tunnel agents.
> > [tunnels]
> > ssh_user = "C:/Program Files/TortoiseSVN/bin/TortoisePlink.exe" -
> > noagent -i "C:/Documents and Settings/Jonathan Booth/My Documents/Keys/
> > hm-ssh-svn.ppk"
>
> ssh_user
> as a tunnel is not allowed. That would translate to urls in the form of:
> svn+ssh_user://
> which is a violation of rfc1738 (http://www.ietf.org/rfc/rfc1738.txt):
> "Scheme names consist of a sequence of characters. The lower case
> letters "a"--"z", digits, and the characters plus ("+"), period ("."),
> and hyphen ("-") are allowed."
>
> As you can see, the _ char is not allowed in a scheme name.
>
> But I'll check the code whether your 'url' is not recognized because of
> the _ char (which would be correct) or because of a bug in TSVN/svn.
>
I've checked and making the tunnel be called ssh-user instead works
fine for both the repository browser and checking out - thanks! Any
chance of a better error message as 'can't check path' followed by an
invalid filename error doesn't really fit the bill for an illegal
character in the schema name!
> > FYI: if however I make the config file read:
> > ### Section for configuring tunnel agents.
> > [tunnels]
> > ssh = "C:/Program Files/TortoiseSVN/bin/TortoisePlink.exe" -C -noagent
> > -i "C:/Documents and Settings/Jonathan Booth/My Documents/Keys/hm-ssh-
> > svn.ppk"
>
> Then please, use that.
> Do not introduce custom schemes for no apparent reason.
Well except it didn't work with the repository browser in the first
place because TortoisePlink kept asking for the password despite being
given a key and so I assumed I couldn't override the default. It
turns out that it does work for checkouts though.
I do have a reason for introducing the custom scheme - if you'd
checked the website I originally pointed you at you might have spotted
it - and also that I was creating a "ssh_user" tunnel. The reason for
introducing the custom scheme is that there is only one user granted
ssh access to a Host Monster account. So I am using ssh's
authorized_keys file to setup different keys to tunnel to svnserve for
different user names. This way I can also give others access to my
svn server without giving them root access to my Host Monster
account. So doing things this way means I can have different local
copies of the repository on the same machine and each will be able to
use a different tunnel and so use svn with a different user name.
This makes it easy for me to track which changes come from where. It
also means that anyone can also use svn+ssh to access other subversion
repositories without trying to authenticate with the key given for my
tunnel. If there is a better way to do this please do let me know or
point me at a resource that will explain it!
Thanks again for all your help,
Jon
>
> Stefan
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].
>
> signature.asc
> < 1KViewDownload
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=978851
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2008-12-03 13:32:40 CET