You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ying lcs <yi...@gmail.com> on 2007/02/12 21:35:07 UTC

How can I access a subversion via SSH

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: How can I access a subversion via SSH

Posted by Paul Campbell <pw...@u.washington.edu>.

ying lcs wrote:
> On 2/12/07, Erik Huelsmann <eh...@gmail.com> wrote:
>> On 2/13/07, ying lcs <yi...@gmail.com> wrote:
>> > On 2/12/07, Doug Goldstein <do...@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

Re: How can I access a subversion via SSH

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 12, 2007, at 17:55, ying lcs wrote:

> 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'

Neither "ssh+ssh" nor "ssh+svn" are valid Subversion protocols. The  
correct protocol name is "svn+ssh".


-- 

To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: How can I access a subversion via SSH

Posted by ying lcs <yi...@gmail.com>.
On 2/12/07, Erik Huelsmann <eh...@gmail.com> wrote:
> On 2/13/07, ying lcs <yi...@gmail.com> wrote:
> > On 2/12/07, Doug Goldstein <do...@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'



>
> Erik.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: How can I access a subversion via SSH

Posted by Erik Huelsmann <eh...@gmail.com>.
On 2/13/07, ying lcs <yi...@gmail.com> wrote:
> On 2/12/07, Doug Goldstein <do...@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,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: How can I access a subversion via SSH

Posted by ying lcs <yi...@gmail.com>.
On 2/12/07, Doug Goldstein <do...@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?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: How can I access a subversion via SSH

Posted by Doug Goldstein <do...@monetra.com>.
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org