Hello. First question here.
I am trying to get Perl to SSH to a Unix machine. The possible origin machines are Unix, Linux and Windows XP. The problem is, it is all behind a very restrictive firewall (no FTP, authenticating HTTP that PPM cannot get through even I set up HTTP_proxy*).
I have Perl installed in the three machines, and all three have SSH clients (PuTTY in Windows). But I cannot get Open2($r, $w, "ssh destination") to work (I cannot do the SSH public key authentication, I cannot meddle with the destination machine) and I cannot use CPAN nor PPM to connect to a repository.
So I need help on how to do one of the following:
- Get Open2 to work with password authentication.
- Set a private repository and choose which files to put and where, to get CPAN / PPM to install Net::SSH, and get it to work with password authentication.
- Install the Net::SSH and all dependencies manually, and get it to work with password authentication.
- Something else you guys and girls think about.
Thanks in advance.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.