You can try using
Net::SFTP::Foreign instead, it provides an adapter layer (
Net::SFTP::Foreign::Compat) for compatibility with
Net::SFTP and is far easier to install as it only requires two additional packages
Expect and
IO::Pty that, I am sure, will be available as rpms.