[Mageia-sysadm] Importing ssh keys to ldap

Michael Scherer misc at zarb.org
Mon May 2 23:45:56 CEST 2011


Le lundi 02 mai 2011 à 23:12 +0200, nicolas vigier a écrit :
> On Mon, 02 May 2011, Michael Scherer wrote:
> 
> > Le lundi 02 mai 2011 à 22:47 +0200, nicolas vigier a écrit :
> > > On Mon, 02 May 2011, Michael Scherer wrote:
> > > 
> > > > While discussing on #mageia-dev with olorin, I started to write a script
> > > > to import ssh keys from the fs to the ldap, and then finished, and then
> > > > I ran it ( while I was on it  ).
> > > > 
> > > > So all keys from the filesystem have been copied to ldap. ( if I didn't
> > > > done something wrong... )
> > > 
> > > Nice !
> > > 
> > > So we should be able to enable using ssh keys from ldap now ?
> > 
> > We need : 
> > - to export them
> > - to check that they are exported
> > - to say to use that key 
> > - to check it still work
> > 
> > I suspect we could do a test run on rabbit ?
> 
> I think it's already being used on rabbit now.

Indeed. And after running the script to export, it worked well.

So we can now, after successfully testing a a poor rabbit in the
laboratory, start to test on production servers :)

> What is missing maybe is a cron to run the export script.

Yup.
Every hour, every 10 minutes ? 

Script is fast to run so we can run it often so modification are
reflected faster.

-- 
Michael Scherer



More information about the Mageia-sysadm mailing list