Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Hmmm, things I forgot to wrote last time:

  • PuTTY comes with some very useful helper programs:
    A key agent, so you don't need to enter your password a billion times a day. Enter the key pass phrase once Windows loads PAgent, and PuTTY will be able to use the key without any prompts.
    A simple command line scp client, sufficient for small batch jobs or perl scripts. Can use PuTTYs saved sessions and the keys from PAgent.
    A command line sftp (not FTP!) client, sufficient for occasional file transfers. Like PSCP, it can use saved sessions and the keys from PAgent.
    A command line ssh client, "PuTTY without the terminal emulator". Usually called from batch jobs or scripts to invoke remote programs or to create an SSH tunnel.
    A ssh key generator, uses its own format and can export / import OpenSSH and formats
  • There is a companion program called WinSCP, it can import PuTTYs sessions and can use the keys from PAgent. Basically, it is a graphical SCP and SFTP client, but can also talk plain old FTP. Recent versions also have a very limited command line window (without full terminal emulation) and a useable text editor for remote files. It can behave either like a Windows Explorer window or like a graphical clone of the Norton Commander.
  • From lots of experience, I would recommend to create a private key, export it to the remote system, and DISABLE password logins via SSH on the remote system. A nice side effect is that you don't have to type passwords any more, but the real benefit is that no one will be able to login via SSH to the remote machine, even if he correctly guesses login and password.


Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

In reply to Re^2: Editing remote *nix files from Windows? by afoken
in thread Editing remote *nix files from Windows? by flamey

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (9)
    As of 2018-06-23 16:24 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (125 votes). Check out past polls.