Use ssh instead. Or, if you don't really care about encrypted connections, go with telnet/expect.

I agree that using ssh is best. In fact, I'd suggest using it unless it failed to meet some requirements such as performance or portability rather than merely "if you don't really care". But I don't agree with using telnet/expect rather than rsh.

there is no good reason to use rsh anymore, excepting the always-annoying PHB factor.

I'll give you three:

  1. Rsh may well be more convenient than trying to use expect which is notoriously messy.
  2. Rsh won't require you to store a readable password somewhere.
  3. If you ever decide you do want to use ssh in the future, it'll be a drop-in replacement for rsh.
And if I sound like a PHB saying so, well, so be it. ;-)

-sauoq
"My two cents aren't worth a dime.";

In reply to Re: Re: Pros/cons of testing on remote systems? by sauoq
in thread Pros/cons of testing on remote systems? by TASdvlper

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.