Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Passing telnet commands through SSH

by wrongt (Initiate)
on Jul 14, 2014 at 11:15 UTC ( [id://1093530]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Passing telnet commands through SSH
in thread Passing telnet commands through SSH

I suppose telnet session filed because on the system where script is running have version of OpenSSH 4.3, but Net::OpenSSH module need OpenSSH 5.4 and upwards for creating tunnels. In case that i didn't have possibility to upgrade OpenSSH version is any alternatives way to create an ssh tunnel to gateway after that use tunnel to establish a telnet connection to remote host?
  • Comment on Re^3: Passing telnet commands through SSH

Replies are listed 'Best First'.
Re^4: Passing telnet commands through SSH
by salva (Canon) on Jul 15, 2014 at 15:08 UTC
    Is netcat or socat or any other similar utility available on the remote side? you can use then to forward stdio to some remote TCP server.

    If Perl (or any other scripting language) is available on the remote side, you could also write your own netcat. See golf challenge: one-liner netcat clone

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1093530]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found