<div>What this scripts purpose is to sftp backup files and log files from one server to another or to a disk array that is not</div>
<div>part of the originating servers file system.&nbsp; It is to run from cron at periodic times yet to be determined.</div>
<div>&nbsp;</div>
<div>Any help is greatly appreciated!</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>Dan<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/16/06, <b class="gmail_sendername"><a href="mailto:kc-request@pm.org">kc-request@pm.org</a></b> &lt;<a href="mailto:kc-request@pm.org">kc-request@pm.org</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send kc mailing list submissions to<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:kc@pm.org">kc@pm.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mail.pm.org/mailman/listinfo/kc">http://mail.pm.org/mailman/listinfo/kc</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:kc-request@pm.org">kc-request@pm.org
</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:kc-owner@pm.org">kc-owner@pm.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of kc digest...&quot;
<br><br><br>Today's Topics:<br><br>&nbsp;&nbsp;1. Interactive Login in Perl (Dan Hull)<br>&nbsp;&nbsp;2. Re: Interactive Login in Perl (Teal)<br>&nbsp;&nbsp;3. Re: Interactive Login in Perl (Eric)<br>&nbsp;&nbsp;4. Lightning talks at OSCON 2006: Announcement for distribution
<br>&nbsp;&nbsp;&nbsp;&nbsp; (Garrett Goebel)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 15 Jul 2006 22:56:06 -0500<br>From: &quot;Dan Hull&quot; &lt;<a href="mailto:dnrhull@gmail.com">
dnrhull@gmail.com</a>&gt;<br>Subject: [Kc] Interactive Login in Perl<br>To: <a href="mailto:kc@pm.org">kc@pm.org</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:ff5d1c260607152056x6c7f9aedmf9750e4391837ec@mail.gmail.com">
ff5d1c260607152056x6c7f9aedmf9750e4391837ec@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>I am trying to write some perl scripts which will be run from Cron which<br>require interactive ssh or regular unix login.&nbsp;&nbsp;Can someone point me in the
<br>right direction to accomplish this.<br><br>Thanks,<br><br>--<br>Dan Hull<br>eFax - 816.222.0803<br><a href="mailto:dnrhull@gmail.com">dnrhull@gmail.com</a><br><br>Quality of life is a choice. It is<br>available to everyone in any circumstance, whether good or bad.
<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://mail.pm.org/pipermail/kc/attachments/20060715/43193c09/attachment.htm">http://mail.pm.org/pipermail/kc/attachments/20060715/43193c09/attachment.htm
</a><br><br>------------------------------<br><br>Message: 2<br>Date: Sun, 16 Jul 2006 00:30:58 -0500<br>From: Teal &lt;<a href="mailto:ironicface@earthlink.net">ironicface@earthlink.net</a>&gt;<br>Subject: Re: [Kc] Interactive Login in Perl
<br>To: <a href="mailto:kc@pm.org">kc@pm.org</a><br>Message-ID: &lt;<a href="mailto:44B9CF12.50302@earthlink.net">44B9CF12.50302@earthlink.net</a>&gt;<br>Content-Type: text/plain; charset=us-ascii; format=flowed<br><br>Dan Hull wrote:
<br><br>&gt; I am trying to write some perl scripts which will be run from Cron which<br>&gt; require interactive ssh or regular unix login.&nbsp;&nbsp;Can someone point me in<br>&gt; the right direction to accomplish this.<br>&gt;
<br>&gt; Thanks,<br>&gt;<br>&gt; --<br>&gt; Dan Hull<br>&gt; eFax - 816.222.0803<br>&gt; <a href="mailto:dnrhull@gmail.com">dnrhull@gmail.com</a> &lt;mailto:<a href="mailto:dnrhull@gmail.com">dnrhull@gmail.com</a>&gt;<br>
&gt;<br>&gt; Quality of life is a choice. It is<br>&gt; available to everyone in any circumstance, whether good or bad.<br>&gt;<br><br><br>Are you saying you want the script to require a shell to get the initial<br>settings before being handed to cron, or that it runs from cron and at
<br>that time opens a shell, and some user is then prompted to do something?<br><br>Teal<br>--<br>Five minutes of Silence,<br>Meditate. Breathe. Be Alive.<br><br><br><br>------------------------------<br><br>Message: 3<br>
Date: Sun, 16 Jul 2006 08:14:29 -0500<br>From: Eric &lt;<a href="mailto:eric@alliances.org">eric@alliances.org</a>&gt;<br>Subject: Re: [Kc] Interactive Login in Perl<br>To: Dan Hull &lt;<a href="mailto:dnrhull@gmail.com">
dnrhull@gmail.com</a>&gt;<br>Cc: <a href="mailto:kc@pm.org">kc@pm.org</a><br>Message-ID: &lt;<a href="mailto:44BA3BB5.6040100@alliances.org">44BA3BB5.6040100@alliances.org</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
<br><br>You'll want to look at Expect - either the TCL extension or the Expect<br>module for Perl.<br><br><a href="http://search.cpan.org/~rgiersig/Expect-1.18/Expect.pod">http://search.cpan.org/~rgiersig/Expect-1.18/Expect.pod
</a><br><br><a href="http://expect.nist.gov/">http://expect.nist.gov/</a><br><br>Eric<br><br>Dan Hull wrote:<br>&gt; I am trying to write some perl scripts which will be run from Cron<br>&gt; which require interactive ssh or regular unix login.&nbsp;&nbsp;Can someone
<br>&gt; point me in the right direction to accomplish this.<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; --<br>&gt; Dan Hull<br>&gt; eFax - 816.222.0803<br>&gt; <a href="mailto:dnrhull@gmail.com">dnrhull@gmail.com</a> &lt;mailto:
<a href="mailto:dnrhull@gmail.com">dnrhull@gmail.com</a>&gt;<br>&gt;<br>&gt; Quality of life is a choice. It is<br>&gt; available to everyone in any circumstance, whether good or bad.<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt; _______________________________________________<br>&gt; kc mailing list<br>&gt; <a href="mailto:kc@pm.org">kc@pm.org</a><br>&gt; <a href="http://mail.pm.org/mailman/listinfo/kc">http://mail.pm.org/mailman/listinfo/kc
</a><br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Sun, 16 Jul 2006 12:26:28 -0500<br>From: Garrett Goebel &lt;<a href="mailto:ggoebel@goebel.ws">ggoebel@goebel.ws</a>&gt;<br>Subject: [Kc] Lightning talks at OSCON 2006: Announcement for
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; distribution<br>To: <a href="mailto:kc@pm.org">kc@pm.org</a><br>Message-ID: &lt;<a href="mailto:C4E39142-FA93-402A-B003-C458C86E767E@goebel.ws">C4E39142-FA93-402A-B003-C458C86E767E@goebel.ws</a>&gt;<br>Content-Type: text/plain; charset=US-ASCII; format=flowed
<br><br>Begin forwarded message:<br><br>&gt; From: Mark Jason Dominus &lt;<a href="mailto:mjd@plover.com">mjd@plover.com</a>&gt;<br>&gt;<br>&gt; ----------------------------------------------------------------<br>&gt; Subject: OSCON 2006 Lightning talks deadline extended
<br>&gt;<br>&gt; There is still time to propose a lightning talk for OSCON 2006.&nbsp;&nbsp;The<br>&gt; deadline has been extended through Monday, 25 July.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lightning Talks at the 2006 O'Reilly Open Source Convention
<br>&gt;<br>&gt; Lightning talks are brief (5-minute) talks that focus on a single<br>&gt; example, idea, project, or technique.&nbsp;&nbsp;Lightning talks do not attempt<br>&gt; to cover all aspects of their subject matter, but rather to present
<br>&gt; one facet of the idea clearly and succinctly.<br>&gt;<br>&gt; To submit a proposal for a lightning talk, please send your proposed<br>&gt; title and an abstract of up to four sentences to:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mailto:osc-lt-2006-submit@plover.com">osc-lt-2006-submit@plover.com</a><br>&gt;<br>&gt; For more complete information, visit:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://perl.plover.com/lt/osc2006/">http://perl.plover.com/lt/osc2006/
</a><br>&gt;<br>&gt; Thanks.<br><br><br><br>------------------------------<br><br>_______________________________________________<br>kc mailing list<br><a href="mailto:kc@pm.org">kc@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/kc">
http://mail.pm.org/mailman/listinfo/kc</a><br><br>End of kc Digest, Vol 33, Issue 11<br>**********************************<br></blockquote></div><br><br clear="all"><br>-- <br>Dan Hull<br>eFax - 816.222.0803<br><a href="mailto:dnrhull@gmail.com">
dnrhull@gmail.com</a><br><br>Quality of life is a choice. It is<br>available to everyone in any circumstance, whether good or bad.