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: cpcash...@west.com
Infrastructure Monitoring, Management, and Automation Division          EIT ~ 
Converging People and Technologies
West Corporation<http://www.west.com/>
________________________________

From: Amitay Ben-ishay [mailto:amitay.ben-is...@orange.co.il]
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:image001.jpg@01CD0D02.DBDEF490]


Work:  +972-54-7814588
Mobile:+972-54-9909149
Fax:     +972-153-54-9909149
Email: amitay.ben-is...@orange.co.il<mailto:amitay.ben-is...@orange.co.il>
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 
lists...@unc.edu<mailto:lists...@unc.edu> with the body: unsubscribe spectrum 
cpcash...@west.com<mailto:cpcash...@west.com>

---
To unsubscribe from spectrum, send email to lists...@unc.edu with the body: 
unsubscribe spectrum arch...@mail-archive.com

Reply via email to