Brock Noland writes:

> Thus, does anyone know how to give ssh a password in a script?

not quite exactly what you want, but if you use passphraseless keys it 
should do what you want. that is, ssh without asking for a password.

--
Munir Nassar