On Fri, 9 Feb 2001, Joel Cordonnier wrote:
> Date: Fri, 9 Feb 2001 13:44:31 +0100 (CET)
> From: Joel Cordonnier <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: CVS, SSH, and Tunneling. HOW TO ? HELP please
>
> Hi!
>
> I just install redhat 7.0 and I want to access a CVS
> repository outside the local network of my company.
>
> I am behind a firewall that blocks CVS access. I have
> successfully installed SSH .
>
> If I clearly understand , I have to configure port
> redirection to access CVS repositories . OK! but HOW
> TO ?
>
> That's the command that I execute (that's don't work)
> in a shell script
>
> #!/bin/sh
> ssh -L 2401:CvsHostNameToConnect:2401 MyLocalHostName
> cvs -d :pserver:CvsHostNameToConnect:/directory login
>
> Thanks for any help
> Joel
>
In order to accomplish this, I only had to add the following lines to my
~/.bash_profile:
CVS_RSH=/usr/bin/ssh
export CVS_RSH
CVSROOT=:ext:[EMAIL PROTECTED]:/home/cvs
export CVSROOT
Of course, you may have to change the actual CVS directory (it's /home/cvs
in my case). I've been using this setup for a long time now, and it
seems to work fine.
--
------------------------------------------------------
Nitebirdz
------------------------------------------------------
http://www.linuxnovice.org
News, tips, articles, links...
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list