in reply to Connection to devices and command execution
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Connection to devices and command execution
by Anonymous Monk on Feb 08, 2017 at 06:40 UTC |