Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 1998 09:15:24 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        Eivind Eklund <eivind@yes.no>, "Jordan K. Hubbard" <jkh@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-CVSROOT@FreeBSD.ORG
Subject:   Re: cvs commit: CVSROOT avail 
Message-ID:  <199802271615.JAA04081@mt.sri.com>
In-Reply-To: <472.888572485@time.cdrom.com>
References:  <19980227101302.39170@follo.net> <472.888572485@time.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > For your convenience, we repeat some of the magic tricks of using CVS
> > with SSH below:
> 
> There are even easier ways, as I've already pointed out to Nik:

> setenv CVS_RSH ssh
> do-local-cvs() {
> 	setenv CVSROOT /home/ncvs
> 	[ -f CVS/Root ] && echo $CVSROOT > CVS/Root
> }
> do-remote-cvs() {
> 	setenv CVSROOT freefall.freebsd.org:/home/ncvs
> 	[ -f CVS/Root ] && echo $CVSROOT > CVS/Root
> }
> cvscommit() {
> 	do-remote-cvs
> 	cvs commit $*
> 	do-local-cvs
> }

Nasty, but effective.  I wouldn't recommend it though. :(

> Yes, ssh-agent is a good idea.  Starting it on your window manager is,
> however, not such a good idea since it won't include any of the
> clients in your .xsession/.xinitrc and some of those are usually
> xterms in the typical scenario.  Far better to have (assuming that
> you're using xdm and .xsession):

What does ssh-agent do?  I've never used it, nor had any reason to.


Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802271615.JAA04081>