Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::SSH::Perl::Auth::UserwContributed Perl DNet::SSH::Perl::Auth::Password(3)

NAME
       Net::SSH::Perl::Auth::Password -	Password authentication	plugin

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

DESCRIPTION
       Net::SSH::Perl::Auth::Password performs password	authentication with a
       remote sshd server. When	you create a new password auth object, you
       give it an $ssh object, which should contain an open connection to an
       ssh daemon, as well as the data that the	authentication module needs to
       proceed.

       The authenticate	method will enter into a dialog	with the server. For
       password	authentication,	all that needs to be done is to	send a
       password	(encrypted by the standard SSH encryption layer) to the
       server, and wait	for its	response. If the $ssh object doesn't already
       have a password that you've given it, Net::SSH::Perl::Auth::Password
       will check to see if you're in an interactive session (see the docs for
       Net::SSH::Perl),	and if so will issue a prompt, asking you to enter
       your password.  If the session is not interactive (if it's in batch
       mode), we send a	blank password to comply with the protocol, but	odds
       are the authentication will then	fail.

AUTHOR & COPYRIGHTS
       Please see the Net::SSH::Perl manpage for author, copyright, and
       license information.

perl v5.24.1			  2017-03-12 Net::SSH::Perl::Auth::Password(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR & COPYRIGHTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::SSH::Perl::Auth::Password&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help