Even after reading your follow-up to this question I'm still unclear what you mean by "...After I successfully connect to Device B, i need to run a unique command (not using SSH/Telnet) and connect to Device C..."
----- ----- ----- | A | <-> SSH <-> | B | <-> ?? <-> | C | ----- ----- -----
So from A to B you have an SSH connection, will run some commands on B. For that you could use Net::SSH::Expect or Net::SSH2::Expect. Then B is supposed to execute some commands on C and gather information. What protocol will be spoken between those two boxes, if not telnet nor SSH? Is there a daemon set up on C listening to requests from B and responding?
Dave
In reply to Re: Connection to devices and command execution
by davido
in thread Connection to devices and command execution
by easyrider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |