Skip Menu |

This queue is for tickets about the Net-OpenSSH CPAN distribution.

Report information
The Basics
Id: 51604
Status: rejected
Priority: 0/
Queue: Net-OpenSSH

People
Owner: Nobody in particular
Requestors: toddr [...] null.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.40
Fixed in: (no value)



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.
Subject: Re: [rt.cpan.org #51604] Document use of master options with password use
Date: Tue, 17 Nov 2009 09:40:18 -0800 (PST)
To: bug-Net-OpenSSH [...] rt.cpan.org
From: Salvador Fandino <sfandino [...] yahoo.com>
Show quoted text
----- Original Message ----
> From: "toddr@null.net via RT" <bug-Net-OpenSSH@rt.cpan.org> > Sent: Tue, November 17, 2009 5:34:35 PM > Subject: [rt.cpan.org #51604] Document use of master options with password use > > Tue Nov 17 11:34:34 2009: Request 51604 was acted upon. > Transaction: Ticket created by toddr@null.net > Queue: Net-OpenSSH > Subject: Document use of master options with password use > Broken in: 0.40 > Severity: Normal > Owner: Nobody > Requestors: toddr@null.net > Status: new > Ticket > > > 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')"
Well, you were working around a bug and actually playing with the module inners. Outside of this scenario I don't believe the new options will affect regular users, so I don't really see the point in documenting them. Maybe at some point I will add a list of the configuration options that must/should not be changed by the user. Thank you for the feedback. - Salva