added password FAQ from SSH.pm
authorivan <ivan>
Thu, 5 Jul 2001 21:18:06 +0000 (21:18 +0000)
committerivan <ivan>
Thu, 5 Jul 2001 21:18:06 +0000 (21:18 +0000)
SCP.pm

diff --git a/SCP.pm b/SCP.pm
index 2b9d4d4..70c158e 100644 (file)
--- a/SCP.pm
+++ b/SCP.pm
@@ -272,6 +272,18 @@ sub binary { 1; }
 
 =back
 
 
 =back
 
+=head1 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.
+
+Q: My script is "leaking" ssh processes.
+
+A: See L<perlfaq8/"How do I avoid zombies on a Unix system">, L<IPC::Open2>,
+L<IPC::Open3> and L<perlfunc/waitpid>.
+
 =head1 AUTHORS
 
 Ivan Kohler <ivan-netscp_pod@420.am>
 =head1 AUTHORS
 
 Ivan Kohler <ivan-netscp_pod@420.am>