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
In reply to using Net::SSH::Perl and Expect by jfroebe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |