summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2001-07-05 21:18:06 +0000
committerivan <ivan>2001-07-05 21:18:06 +0000
commit9a00bb48fa7a0dffca217c4898f44ec0085a14db (patch)
tree97e2e2ac796a63ed56e30dd3e6e3ad0fcb45fe07
parent2b75e6bca373e40cb09e877b0d7ef7dbca2432ee (diff)
added password FAQ from SSH.pm
-rw-r--r--SCP.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/SCP.pm b/SCP.pm
index 2b9d4d4..70c158e 100644
--- a/SCP.pm
+++ b/SCP.pm
@@ -272,6 +272,18 @@ sub binary { 1; }
=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>