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 authen‐
15 tication with a remote sshd server. This plugin is only usable when
16 using the SSH2 protocol, and you generally never need to use it manu‐
17 ally; the client and server will perform authentication negotiation in
18 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 connec‐
22 tion to an ssh daemon, as well as the data that the authentication mod‐
23 ule 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 interac‐
34 tive prompts requires that you only use this method in an interactive
35 SSH connection.
36
38 Please see the Net::SSH::Perl manpage for author, copyright, and
39 license information.
40
41
42
43perl v5.8.8 2003-12-0N3et::SSH::Perl::Auth::KeyboardInt(3)