Goodmorning mighty monks of wisdom ...
Im pritty new to perl but have been able to put together a script using Net::Perl::SSH to authenticate with RSA/DSA keys to get some systeminfo from my linux servers at work. I push this information into a mysql database for web retrival with PHP. The script works great when I run it standalone at bash prompt, but as soon as I put it into cron to run every hour I get permission denied on the '$ssh->login($user)' row in the script. My guess is that it got something to do with how cron spawns a new shell or something. Dont know. Any input would be great.