[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Tue, 09 Jun 2009 13:37:55 +0100 James Fidell wrote: > Grant Sewell wrote: > > > The bit I'm having trouble with is the keygen part - the user > > account I want to be able to login from is a non-interactive > > user. :s > > ssh-keygen -N '' ... > > ? > > James > man ssh-keygen says: -N new_passphrase Provides the new passphrase. Can't really see how this would help. I think I have it sorted anyway: + Stopped the nagios service + Changed the nagios user account's default environment to /bin/bash + Su'd to the nagios user account + Ran the relevant commands + Tried sshing to our other server (it succeeded) + Exited the su environment + Changed the account's environment back to /bin/false + Restarted the nagios service Grant. -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html