I have a client/server application that work over a telnet connection, and it does not support SSH. Basically the client opens a telnet connection to the server, which starts a specific shell, and the client sends commands over the telnet connection to that shell. The problem is that I need to make this work over a ssh connection, and the remote server does not have telnet services, so I cannot use a tunnel over the ssh connection. I need some kind of telnet emulator that will offer a telnet endpoint to the client, while connecting through ssh to the server. Is there any way to do this?
thanks
Best Answer
That's a normal case for port forwarding over ssh.
A server
<ip>
has ssh endpoint opened and an application server listening on Telnet port 23.A client has an application client which should connect to
<ip>:23
. Also client has nothing listening on port 23.Let's establish port forwarding from server to client:
Here we:
<ip>
as useruser
;Now application client should connect to the address
127.0.0.1:23
to work with the application server.Update
As per explanations, we have a telnet only capable client software and ssh only capable server. And client should be able to access the server.
As it happens, such solution does exist. From manual:
Meet DeleGate