I'm not sure if I completely understood your question, but it appears you are looking for the Net::Telnet and the Net::Telnet::Cisco modules.
These will enable you to access the router from an ACL-permitted server. Additional SSH, FTP or alternative could get the data to the destination server.
"As you get older three things happen. The first is your memory goes, and I can't remember the other two... "
- Sir Norman Wisdom
| [reply] |
Hi NetWallah / all ,
I need connect via SSH2 at one server called "Server_A" .This first step is OK :)
In the server_A , I need connect to Server_B via SSH2 ... I canīt connect at the second server in my Perl script
Have any connection example of a recursive via SSH2 server to another?
Is that the script connects to a first server_A and then jump to a server_B by SSH2.
This is possible in PERL?
Thanks in advance,
Best Regars
TELCO
| [reply] |
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
| [reply] |
| [reply] |