telnet ->A -> B -> A

T

ton de w

Hello,

Have to write some perl code to telnet from a sun box to another sun
box, say node A, and then telnet from this box to another box say B,
and then finally telnet from B back to A.

Wont know the nodes in advance, get them from a list (of 2 nodes)
given to me in real time.

So there must be an easy, hard or very hard way of doing this!

I am not sure whether to use perl's expect or Net::Telnet or possibly
something else.

Could someone help me choose? And any other hints welcome..

TIA

Ton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top