From PC1, I SSH into SERVER1 where I have a bash script, that will SSH & auth to SERVER2 using an SSH-key that's password-protected.
Everything works fine when I manually execute my script, using ssh-agent to load my password-protected key into memory and forwarding it to SERVER2 for auth.
But using crontab on SERVER1 it routinely fails; how can I get the following command to work using a password-protected SSH key?
SERVER1$ ssh -i ~/.ssh/somekey.pem SERVER2