1Net::SSH::Perl::SSH2(3)User Contributed Perl DocumentatioNnet::SSH::Perl::SSH2(3)
2
3
4
6 Net::SSH::Perl::SSH2 - SSH2 implementation
7
9 use Net::SSH::Perl;
10 my $ssh = Net::SSH::Perl->new($host, protocol => 2);
11
13 Net::SSH::Perl::SSH2 implements the SSH2 protocol. It is a subclass of
14 Net::SSH::Perl, and implements the interface described in the documenā
15 tation for that module. In fact, your usage of this module should be
16 completely transparent; simply specify the proper protocol value (2)
17 when creating your Net::SSH::Perl object, and the SSH2 implementation
18 will be loaded automatically.
19
20 NOTE: Of course, this is still subject to protocol negotiation with the
21 server; if the server doesn't support SSH2, there's not much the client
22 can do, and you'll get a fatal error if you use the above protocol
23 specification (2).
24
25 AUTHOR & COPYRIGHTS
26
27 Please see the Net::SSH::Perl manpage for author, copyright, and
28 license information.
29
30
31
32perl v5.8.8 2003-12-03 Net::SSH::Perl::SSH2(3)