nafion112 has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I was wondering what people's experiences have been with using perl kick off and automate telnet/ssh sessions that they wish to have live access to later.
For example, say I want to have a script that will ssh my current console into another system, run a few commands, and then drop control of the console back to me, as if I had sshed in myself.
I am currently using the expect module and telnet for this, but find it somewhat awkward and am looking to the monks for a possibly more elegant solution. I would also prefer to use ssh, which I haven't had much luck with using expect.
Thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Automate remote console sessions.
by almut (Canon) on Jun 10, 2010 at 18:23 UTC | |
|
Re: Automate remote console sessions.
by Yary (Pilgrim) on Jun 10, 2010 at 21:54 UTC | |
by Yary (Pilgrim) on Jun 10, 2010 at 22:01 UTC |