Re: [Perl-unix-users] running ssh commands remotely in Perl

2006-01-05 Thread Michael Medwid
We need to do that all the time. We call expect as it handles automated interaction via say SSH better. Some examples of "use Expect;": http://tomacorp.com/perl/expect.html and note: http://www.infocopter.com/perl_corner/expect-manpage.htm On 1/4/06, Anthony Ettinger <[EMAIL PROTECTED]> wrote

Re: [Perl-unix-users] running ssh commands remotely in Perl

2006-01-05 Thread Anthony Ettinger
Yes, ssh is the best way. I've decided to try Net::SSH::Perl.On 1/5/06, $Bill Luebkert <[EMAIL PROTECTED]> wrote: Anthony Ettinger wrote:> Any thoughts?>> I'm looking for a "best practices".>> Basically, i'm on foo.org , and need to automate ssh> bar.org , and ex

Re: [Perl-unix-users] running ssh commands remotely in Perl

2006-01-05 Thread $Bill Luebkert
Anthony Ettinger wrote: > Any thoughts? > > I'm looking for a "best practices". > > Basically, i'm on foo.org , and need to automate ssh > bar.org , and executea command or two, then copy the > file from that server, then delete it. > > I'd also like to not use 3