Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 5 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.