1Net::SSH::Perl::Auth::PUassesrwoCrodn(t3r)ibuted Perl DoNceutm:e:nStSaHt:i:oPnerl::Auth::Password(3)
2
3
4

NAME

6       Net::SSH::Perl::Auth::Password - Password authentication plugin
7

SYNOPSIS

9           use Net::SSH::Perl::Auth;
10           my $auth = Net::SSH::Perl::Auth->new('Password', $ssh);
11           print "Valid auth" if $auth->authenticate;
12

DESCRIPTION

14       Net::SSH::Perl::Auth::Password performs password authentication with a
15       remote sshd server. When you create a new password auth object, you
16       give it an $ssh object, which should contain an open connection to an
17       ssh daemon, as well as the data that the authentication module needs to
18       proceed.
19
20       The authenticate method will enter into a dialog with the server. For
21       password authentication, all that needs to be done is to send a
22       password (encrypted by the standard SSH encryption layer) to the
23       server, and wait for its response. If the $ssh object doesn't already
24       have a password that you've given it, Net::SSH::Perl::Auth::Password
25       will check to see if you're in an interactive session (see the docs for
26       Net::SSH::Perl), and if so will issue a prompt, asking you to enter
27       your password.  If the session is not interactive (if it's in batch
28       mode), we send a blank password to comply with the protocol, but odds
29       are the authentication will then fail.
30

AUTHOR & COPYRIGHTS

32       Please see the Net::SSH::Perl manpage for author, copyright, and
33       license information.
34
35
36
37perl v5.34.0                      2021-07-22 Net::SSH::Perl::Auth::Password(3)
Impressum