Install libnet-ssh2-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-ssh2-perl
Perl module for the SSH 2 protocol
Net::SSH2 is a perl interface to the libssh2 (http://www.libssh2.org) library. It supports the SSH2 protocol (there is no support for SSH1) with all of the key exchanges, ciphers, and compression of libssh2.