From owner-cvs-CVSROOT Fri Feb 27 01:41:53 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA25867 for cvs-CVSROOT-outgoing; Fri, 27 Feb 1998 01:41:53 -0800 (PST) (envelope-from owner-cvs-cvsroot) Received: from time.cdrom.com (root@time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA25799; Fri, 27 Feb 1998 01:41:38 -0800 (PST) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.6.9) with ESMTP id BAA00477; Fri, 27 Feb 1998 01:41:25 -0800 (PST) To: Eivind Eklund cc: "Jordan K. Hubbard" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-CVSROOT@FreeBSD.ORG Subject: Re: cvs commit: CVSROOT avail In-reply-to: Your message of "Fri, 27 Feb 1998 10:13:02 +0100." <19980227101302.39170@follo.net> Date: Fri, 27 Feb 1998 01:41:25 -0800 Message-ID: <472.888572485@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-cvsroot@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 'easyimport' script on freefall). "easy-import" > 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 } $ do-local-cvs $ cvs co ls $ cvscommit nik@freefall.freebsd.org's password: > 1.1 Run your window-manager as 'ssh-agent afterstep' (if you're > running afterstep; replace to taste). If you're not running a > window-manager, run your shell through ssh-agent. 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): jkh@time-> cat ~/.xsession ssh-agent $HOME/.xsession-real jkh@time-> cat ~/.xsession-real Otherwise a great brief, thanks! Jordan