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
15 documentation for that module. In fact, your usage of this module
16 should be completely transparent; simply specify the proper protocol
17 value (2) when creating your Net::SSH::Perl object, and the SSH2
18 implementation 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 Please see the Net::SSH::Perl manpage for author, copyright, and
27 license information.
28
29
30
31perl v5.36.0 2023-01-20 Net::SSH::Perl::SSH2(3)