GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::SSH::Perl::Auth::KeyboardInt(3) User Contributed Perl Documentation Net::SSH::Perl::Auth::KeyboardInt(3)

Net::SSH::Perl::Auth::KeyboardInt - Keyboard-interactive auth plugin

    use Net::SSH::Perl::Auth;
    my $auth = Net::SSH::Perl::Auth->new('KeyboardInt', $ssh);
    $auth->authenticate;

Net::SSH::Perl::Auth::KeyboardInt performs keyboard-interactive authentication with a remote sshd server. This plugin is only usable when using the SSH2 protocol, and you generally never need to use it manually; the client and server will perform authentication negotiation in order to log in the user, a step which happens automatically.

When you create a new authentication object, you give it a Net::SSH::Perl::SSH2 object $ssh, 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 keyboard-interactive authentication, this entails sending a request to authenticate the user using this form of authentication, then waiting for any number of prompts for authentication. These prompts are then presented to the user, who enters his/her responses; the responses are then sent back to the server, which either allows or denies the user's credentials.

The fact that this authentication method requires responses to interactive prompts requires that you only use this method in an interactive SSH connection.

Please see the Net::SSH::Perl manpage for author, copyright, and license information.
2017-03-12 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.