Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Passing telnet commands through SSHby SiliconeClone (Initiate) |
on Apr 03, 2014 at 00:50 UTC ( [id://1080868]=note: print w/replies, xml ) | Need Help?? |
Ok this worked! However, I need it to work programatically. So i attempted to integrate the tunnel into the program. It opens fine, I can be on the sshHost machine and see the tunnel up and running. However the program itself locks at that point. Sadness, right? I can not figure out why it is locking. I have a sub that opens the tunnel, and then after that it should run the telnet sub (which works if I open the tunnel manually). At that point it just hangs. Any more suggestions? It is hanging at the following channel 1: open confirm rwindow 0 rmax 32768This only happens when I open the tunnel. If I send other commands like "who", etc.. it does not hang at all.
In Section
Seekers of Perl Wisdom
|
|