Install libnet-scp-expect-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-scp-expect-perl
Description:
Wrapper for scp to send passwords via Expect
Net::SCP::Expect allows you to transfer files via scp, but instead of having to use shared keys or to input a password interactively, it allows you to send them programmataically via Expect.
Homepage: http://search.cpan.org/dist/Net-SCP-Expect/
Version: 0.16-1
Section: universe/perl