Don't ask to ask, just ask | |
PerlMonks |
using Net::SSH::Perl and Expectby jfroebe (Parson) |
on Nov 08, 2004 at 22:51 UTC ( [id://406233]=perlquestion: print w/replies, xml ) | Need Help?? |
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
Back to
Seekers of Perl Wisdom
|
|