in reply to Making a shell work like a Net::Telnet session

Take a look at Net::SFTP::Foreign. From the docs: "Net::SFTP::Foreign uses any compatible ssh command installed on the system (for instance, OpenSSH ssh) to establish the secure connection to the remote server." It specifically supports plink.

--marmot

  • Comment on Re: Making a shell work like a Net::Telnet session

Replies are listed 'Best First'.
Re^2: Making a shell work like a Net::Telnet session
by salva (Canon) on Feb 10, 2011 at 15:14 UTC
    Net::SFTP::Foreign does support file transfer operations only, it can not be used to run arbitrary commands on the remote hosts.