From owner-cvs-all Fri Feb 27 08:16:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11360 for cvs-all-outgoing; Fri, 27 Feb 1998 08:16:07 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA11228; Fri, 27 Feb 1998 08:15:34 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA27379; Fri, 27 Feb 1998 09:15:25 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA04081; Fri, 27 Feb 1998 09:15:24 -0700 Date: Fri, 27 Feb 1998 09:15:24 -0700 Message-Id: <199802271615.JAA04081@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Jordan K. Hubbard" Cc: Eivind Eklund , "Jordan K. Hubbard" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-CVSROOT@FreeBSD.ORG Subject: Re: cvs commit: CVSROOT avail In-Reply-To: <472.888572485@time.cdrom.com> References: <19980227101302.39170@follo.net> <472.888572485@time.cdrom.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > > 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