Subject: | Document use of master options with password use |
I suggest documenting the use of master options when the password is passed to new. Patch
attached. Not knowing this was being done, I have also been passing them to new for some
time now.
"When this option is used, The following master options will be passed to the openssh process:
(-o => 'NumberOfPasswordPrompts=1',
-o => 'PreferredAuthentications=password,keyboard-interactive')"
Subject: | master_opts_doc.patch |
diff --git a/lib/Net/OpenSSH.pm b/lib/Net/OpenSSH.pm
index e2da06c..021a2f1 100644
--- a/lib/Net/OpenSSH.pm
+++ b/lib/Net/OpenSSH.pm
@@ -1676,6 +1676,10 @@ Note that using password authentication in automated scripts is a very
bad idea. When possible, you should use public key authentication
instead.
+When this option is used, The following master options will be passed to the openssh process:
+ (-o => 'NumberOfPasswordPrompts=1',
+ -o => 'PreferredAuthentications=password,keyboard-interactive')
+
=item ctl_dir => $path
Directory where the SSH master control socket will be created.