Max wrote:
I'm configuring pssh to address multiple servers at once. I set up key-based auth for ssh, it works very nicely. pssh works from the command-line, sends the same command to all servers at once. The next step is to script some actions to run from cron, and the script fails with no message, and locks up: I can't break out, have to kill the process. I've used full paths in the script - any ideas? Max
The trick with using ssh key auth from cron is to use keychain. On my blog I've got a howto: http://soniahamilton.wordpress.com/2007/11/15/ssh-ssh-agent-keychain-and-cron-notes/ Sonia. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
