in reply to NET::OpenSSH and /etc/passwd
You don't need to mess with passwords. Set up a password-less login with ssh via some page like this: http://www.linuxproblem.org/art_9.html