in reply to Using Expect.pm and username/password to ssh to a host
I can't run multiple commands on one connect (another requirement)
Then use a single sh to run multiple.
$ssh->cmd(q[sh -c 'first; second;'])
Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Using Expect.pm and username/password to ssh to a host
by Amsterdamned (Novice) on May 10, 2004 at 14:26 UTC |