Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I am improving the support for Windows in Net::SSH::Any and adding backends for additional SSH clients, including one for the Tectia command line client sshg3 which has the nice feature of being fast (because it reuses connections transparently).

Currently I am passing passwords to sshg3 on the command line, but that is quite insecure as anybody with access to the machine can see them. Fortunately, the program also accepts reading them from a file, but now the problem is that I don't really know how to create a temporary file which only the current user is allowed to access on Windows...

Well, ok, I could invent something, but I don't like inventing things when security is involved and specially on a platform that I don't know well.

So, can anybody illuminate me?

And while we are at it, beta-testers for Net::SSH::Any are welcome. The development version is available from GitHub.

In reply to Private temporal files on Windows by salva

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-05-21 07:16 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (76 votes). Check out past polls.