[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How can I access a subversion via SSH

From: Paul Campbell <pwc_at_u.washington.edu>
Date: 2007-02-13 01:00:34 CET

ying lcs wrote:
> On 2/12/07, Erik Huelsmann <ehuels@gmail.com> wrote:
>> On 2/13/07, ying lcs <yinglcs@gmail.com> wrote:
>> > On 2/12/07, Doug Goldstein <doug@monetra.com> wrote:
>> > > ying lcs wrote:
>> > > > I have a subversion server behind a firewall.
>> > > > I can 'ssh' to that box. But the port 3690 is not opened.
>> > > >
>> > > > How can I do a SSH tunneling to access that subversion server?
>> > > >
>> > > > Thank you.
>> > > >
>> > >
>> > > if you're using svn:// via svnserve, you can change to ssh+svn://
>> and it
>> > > will use svnserve over ssh. You need to use a svn switch command. You
>> > > can pass parameters via SSH_SVN environment variable to ssh. (i.e. -l
>> > > user -p port)
>> > >
>> > > The only thing to make sure is you setup your umask properly so
>> the repo
>> > > is still read/write by the proper people.
>> > >
>> >
>> > Thank you. Will this work if I use svn_sync via ssh?
>>
>> How about trying it?
>>
>> bye,
>
> I tried it,
> export TOREPO=ssh+ssh://65.162.187.6
> export FROMREPO=svn://127.0.0.1
> svnsync init ${TOREPO} ${FROMREPO}
> svnsync: Unrecognized URL scheme for 'ssh+svn://65.162.187.6'
>
> But i get 'Unrecognized URL scheme'

This works for me svn list svn+ssh://host_addr/svn-repos/xyz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 13 01:00:59 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.