Hello,
I need to perform multiple logins in a hop
scheme on Unix machines in order to retrieve a
file.
If I were to do this manually, I would have to do:
rlogin -l <username> <hostname>
<type password if asked>
rlogin -l <username> <secondmachinename>
<typepassword if asked>
Then, either rcp or ftp the file back to the
first machine. Then get back on the first machine
and ftp it back on the original machine (where my
script resides). I CANNOT access the last machine without
accessing the intermediate one before.
What would be the best way to attack this problem ?
I've been thinking about using the Expect module,
and IO::Telnet. Are there any cool CPAN module that
already do this ?
I don't want this to be over-complicated by
having to parse a bunch of "made for human" shell
interactions...
Thanks !
-Robin
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]