bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS_RSH and Flags?


From: Todd Denniston
Subject: Re: CVS_RSH and Flags?
Date: Mon, 03 Dec 2007 10:00:50 -0500
User-agent: Thunderbird 2.0.0.9 (X11/20071031)

sk@elegosoft.com wrote, On 12/02/2007 05:16 PM:
Hi,

I just noticed that CVS_RSH throws a failiure if feed with a port argument
to ssh. In Rsync it works hapily.(Ok, it's called RSYNC_RSH, but you get
the point) Any chances to enable ports in CVS_RSH?

export CVS_RSH="ssh -p 4242"


I don't know about a mod to cvs being done, but you can make ssh take the port number with out putting it in the CVS_RSH export.

modify your ~/.ssh/config
##########
#got to go to www and cvs on a specific port
Host www
        HostName www.domain.com
        Port 2323
Host cvs
        HostName www.domain.com
        Port 4242
##########

then you should be able to
ssh foo@cvs
and go in on port 4242.

see `man ssh_config` for further details.


,cvs -t  -d :ext:foo@www.domain.com:/usr/cvs co .
 -> main loop with CVSROOT=:ext:foo@www.domain.com:/usr/cvs
 -> safe_location( where=(null) )
 -> Starting server: ssh -p 2323 -l foo www.domain.com cvs server
cvs [checkout aborted]: cannot exec ssh -p 2323: No such file or directory
 -> Lock_Cleanup()
cvs [checkout aborted]: received broken pipe signal
 -> Lock_Cleanup()

1.11.17-FreeBSD (client/server)
1.12.13 (client/server)

Best regards
SK




--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]