any of the old sftp and ssh modules Net::SSH2
intended to replace.
Net::SSH2 is a great module, but it is far from being the only one or even the best SSH module currently available. Specifically, as a wrapper of a C library, it is very low level, not very perlish and in general hard to use. Its support for the SFTP protocol is rather rude and inefficient. And besides that, the underlying libssh2 is not as mature as other SSH implementations with new bugs being discovered all the time.
I am highly biased here, but IMO, on Unix/Linux, Net::OpenSSH and Net::SFTP::Foreign are far superior to Net::SSH2.