net::ssh & expect

2004-09-14 Thread john smith
I have a script that I use to ssh to a list of servers to run a few commands. I'm trying to find a way su up & run a command - however I'm in need of some inspiration as to how to pull this off. Heres the script template for reference:- #!/usr/bin/perl -w use strict; use Term::ReadKey; use Net:

Re: net::ssh & expect

2004-09-14 Thread john smith
On Tue, 14 Sep 2004 07:36:38 -0600, Wiggins d Anconia <[EMAIL PROTECTED]> wrote: > > I have a script that I use to ssh to a list of servers to run a few > > commands. I'm trying to find a way su up & run a command - however I'm > > in need of some inspiration as to how to pull this off. > > > > Ha