in reply to Re^2: SSH2 Recursive conection to Servers ( Cisco Backups routers )
in thread SSH2 Recursive conection to Servers ( Cisco Backups routers )

Sorry - I have no experience in SSH tunneling, or chaining (or relay), which is what you appear to want to do.

If you have a functional SSH script that connects to Server_A, you should be able to run the standard "ssh" command at Server_A and connect to Server_B. You will need to pipe the STDIN and STDOUT back to the originating program. See IPC::Open3.

Also, if you post some code, and explain the errors, perhaps monks here can help you debug the code.

     "As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom

  • Comment on Re^3: SSH2 Recursive conection to Servers ( Cisco Backups routers )