jfroebe has asked for the wisdom of the Perl Monks concerning the following question:
is it possible to control the SSH->shell via Expect?
I need to connect (using ssh) to a machine and su to another user (I can't ssh to that user - don't ask). Wishing to keep it as perlish as possible, I'm trying not to spawn the ssh command.
if not, no biggie but need a sanity check as it doesn't appear that Net::SSH::Perl and Expect can be used together.
Jason L. Froebe
No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using Net::SSH::Perl and Expect
by simonm (Vicar) on Nov 09, 2004 at 01:25 UTC | |
by jfroebe (Parson) on Nov 09, 2004 at 02:00 UTC | |
|
Re: using Net::SSH::Perl and Expect
by teabag (Pilgrim) on Nov 09, 2004 at 11:55 UTC | |
|
Re: using Net::SSH::Perl and Expect
by Anonymous Monk on Nov 09, 2004 at 06:24 UTC | |
by jfroebe (Parson) on Nov 09, 2004 at 13:27 UTC |