2

I have a closed source windows tool I need to run, which has to connect to a remote machine. Problem is, the tool only has telnet functionality, while the remote host only accepts SSH2. Is there some easy way to set up some sort of forwarding service, where I have a local linux host that listens for telnet communications, and converts this to SSH?

Martijn
  • 125
  • 5

1 Answers1

5

You should be able to tunnel the telnet session through SSH similar to the following.

plink -pw mypswd -L 23:192.168.0.1:22 root@192.168.0.1

Then you can connect on localhost:23 and have this traffic tunneled through SSH to your server.

bzsparks
  • 86
  • 2