I want to establish and ssh connecto to my home machine from a crontab entry. I use it for port forwarding for vnc & mail.
If I type the following at a commandline:
ssh -p 443 -l username -L 112: pop.someserver.com:110 -L 114: pop.someotherserver.net:110 -L 26:smtp.yetanotherserver.com:25 -g dest_machine
I am prompted to enter my password.
How do I automate the entry of the password if I run the above command from crontab?