FREQUENTLY ASKED QUESTIONS Q: How do you supply a password to connect with ssh within a perl script using the Net::SSH module? A: You don't. Use RSA or DSA keys. See the ssh-keygen(1) manpage.