Date: Fri, 27 Feb 1998 01:41:25 -0800 From: "Jordan K. Hubbard" <jkh@time.cdrom.com> To: Eivind Eklund <eivind@yes.no> Cc: "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: <472.888572485@time.cdrom.com> In-Reply-To: Your message of "Fri, 27 Feb 1998 10:13:02 %2B0100." <19980227101302.39170@follo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> '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
<hack hack, test test>
$ cvscommit
nik@freefall.freebsd.org's password: <type type>
<enter commit message, done>
> 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
<real xsession file, including ssh-add as first line>
Otherwise a great brief, thanks!
Jordan
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?472.888572485>
