The Net::SSH::Expect perl module is commonly used for this. It is a wrapper around the SSH binaries installed on your system, which is usually OpenSSH, and supports the SSH2 protocol. I think it's included by default with the Spectrum perl installation. I've only tried it on Linux, but it works quite well.
-- Christopher P. Cashell ________________________________ EIT Platform Engineering E-Mail: [email protected] Infrastructure Monitoring, Management, and Automation Division EIT ~ Converging People and Technologies West Corporation<http://www.west.com/> ________________________________ From: Amitay Ben-ishay [mailto:[email protected]] Sent: Sunday, December 13, 2015 8:14 AM To: spectrum Subject: [spectrum] NCM for SSH2 devices Hi all, I'm writing a perl script to backup router config. I must access the router using SSH2. The issue is that I'm not able to compile this perl lib NET::SSH2. 1. Maybe someone of you has it compiled on win 64 bit? 2. What are my options in perl, how to access a device using ssh2? Best Regards, Amitay. __________________ Amitay Ben-Ishay Senior Software Architecture & Product Manager [cid:[email protected]] Work: +972-54-7814588 Mobile:+972-54-9909149 Fax: +972-153-54-9909149 Email: [email protected]<mailto:[email protected]> LinkedIN: Amitay's Profile<http://www.linkedin.com/in/amitay> P please consider the environment before printing this email ------------------------------------------------------------ This message contains information that may be confidential or privileged. If you are not the intended recipient, you may not use, copy or disclose to anyone any of the information in this message. If you have received this message and are not the intended recipient, kindly notify the sender and delete this message from your computer. * --To unsubscribe from spectrum, send email to [email protected]<mailto:[email protected]> with the body: unsubscribe spectrum [email protected]<mailto:[email protected]> --- To unsubscribe from spectrum, send email to [email protected] with the body: unsubscribe spectrum [email protected]
