Hello.

In moving some scripts between some HP-UX platforms, old 11.23 and new 11.31, I am once again facing SFTP problems.

I have a handful of scripts which need to do a simple file transfer using SFTP, password mode.

As I understand it, my options are to try to compile NET:SFTP with many and difficult dependencies. A multi-day world of pain for these machines without internet access. (Am I overstating it?)

Or, I thought I had found relief by using Net::SFTP::Foreign! But, it uses pseudo terminals and our security scanning package (CIS-CAT) frowns on pseudo terminals.

Is there a third way?

===================

Nevermind!

The HP-UX ptydaemon is not pseudo terminals and the IO::Pty package was easy to install.

If a little abasement here would make all my troubles go away, I'm glad to do it.


In reply to SFTP suffering -- nevermind! by elfpen

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.