Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2004 14:33:08 +0000
From:      Ceri Davies <ceri@submonkey.net>
To:        Adam Weinberger <adamw@magnesium.net>
Cc:        ports-committers@FreeBSD.org
Subject:   Re: operation of addport & modulesupdate in particular (was Re: cvs commit: CVSROOT modules)
Message-ID:  <20041203143308.GK513@submonkey.net>
In-Reply-To: <18925830-4410-11D9-A16E-000D933729A0@magnesium.net>
References:  <200412011855.iB1ItKHC005936@repoman.freebsd.org> <20041202014558.GU18619@hex.databits.net> <18925830-4410-11D9-A16E-000D933729A0@magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--doKZ0ri6bHmN2Q5y
Content-Type: multipart/mixed; boundary="9ADF8FXzFeE7X4jE"
Content-Disposition: inline


--9ADF8FXzFeE7X4jE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 01, 2004 at 10:13:10PM -0500, Adam Weinberger wrote:
>=20
> On 01 Dec, 2004, at 20:45, Will Andrews wrote:
>=20
> >On Wed, Dec 01, 2004 at 06:55:20PM +0000, Tilman Linneweh wrote:
> >>  Modified files:
> >>    .                    modules
> >>  Log:
> >>  Add kgeography
> >>
> >>  X-Mas whish:    Santa Claus, please fix addport for me
> >
> >Nothing wrong with it; been using it since I wrote it almost 5
> >years ago, without any trouble.  It can be blamed for several
> >thousand CVSROOT/modules changes since then.  :)
> >
> >My usual reply to this recurring issue is:
> >
> >Make sure your ssh configuration works the way it does, i.e. can
> >ssh to freefall from committing location and subsequently from
> >there to repoman - usually involves ssh-agent or another key that
> >is local to the freebsd.org cluster.
>=20
> This is a recurring issue because most people cannot set this up=20
> properly. You can tell from the commit message whether it was done by=20
> hand or by addport (presence of indentation). I've tried before to make=
=20
> this work, but was unable to. I've requested a couple times for=20
> somebody to just show step-by-step what needs to be done, but haven't=20
> yet seen such.

Create/append to your .login (per your shell) and .ssh/config files as
attached.  Somebody will at some point say here that ForwardAgent is a
security risk here, so you may want to use a keypair specifically for
the FreeBSD.org cluster if you don't do that already.

Ceri
--=20
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)

--9ADF8FXzFeE7X4jE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dot.ssh-config"

Host *.freebsd.org
ForwardAgent yes
User ceri

--9ADF8FXzFeE7X4jE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dot.login"

if ( -f ${home}/.ssh/sshenv.${hostname} ) then
	source ${home}/.ssh/sshenv.${hostname}
else
	ssh-agent > ${home}/.ssh/sshenv.${hostname}
	source ${home}/.ssh/sshenv.${hostname}
	ssh-add
endif

--9ADF8FXzFeE7X4jE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=crontab

@reboot /bin/rm -f ${HOME}/.ssh/sshenv.shrike.private.submonkey.net 2>&1 >/dev/null

--9ADF8FXzFeE7X4jE--

--doKZ0ri6bHmN2Q5y
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBsHkkocfcwTS3JF8RAmjAAKCiCuQQzlWyW7zE4QanaM1l8OEYzwCffeLf
KTZwAPXu6OSq18ziM/mLjHo=
=Wt6v
-----END PGP SIGNATURE-----

--doKZ0ri6bHmN2Q5y--



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