1Net::SSH::Perl::Auth::KUesyebroaCrodnItnrti(b3u)ted PerlNeDto:c:uSmSeHn:t:aPteiroln::Auth::KeyboardInt(3)
2
3
4
6 Net::SSH::Perl::Auth::KeyboardInt - Keyboard-interactive auth plugin
7
9 use Net::SSH::Perl::Auth;
10 my $auth = Net::SSH::Perl::Auth->new('KeyboardInt', $ssh);
11 $auth->authenticate;
12
14 Net::SSH::Perl::Auth::KeyboardInt performs keyboard-interactive
15 authentication with a remote sshd server. This plugin is only usable
16 when using the SSH2 protocol, and you generally never need to use it
17 manually; the client and server will perform authentication negotiation
18 in order to log in the user, a step which happens automatically.
19
20 When you create a new authentication object, you give it a
21 Net::SSH::Perl::SSH2 object $ssh, which should contain an open
22 connection to an ssh daemon, as well as the data that the
23 authentication module needs to proceed.
24
25 The authenticate method will enter into a dialog with the server. For
26 keyboard-interactive authentication, this entails sending a request to
27 authenticate the user using this form of authentication, then waiting
28 for any number of prompts for authentication. These prompts are then
29 presented to the user, who enters his/her responses; the responses are
30 then sent back to the server, which either allows or denies the user's
31 credentials.
32
33 The fact that this authentication method requires responses to
34 interactive prompts requires that you only use this method in an
35 interactive SSH connection.
36
38 Please see the Net::SSH::Perl manpage for author, copyright, and
39 license information.
40
41
42
43perl v5.32.0 2020-07-2N8et::SSH::Perl::Auth::KeyboardInt(3)