Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
February 9, 2007, 9:31 am
rate this thread
I have written a TCP server program on Linux that listens to
insecure connection from client and transfer bi-directional data
insecurely. The client application is developed by the third party,
now it has changed to establish secure connection to my server using
SSH, but my server does not support. I wonder whether there is a
simply way to accept it without changing my program, that is, running
another agent program on the Linux that can accept SSH connection from
the client and transfer data securely with the client, but can
communicate with my server using ordinary socket connection. I try to
use ssh command provided by OpenSSH, but it can only forward insecure
connection to secure one, can not forward in the reverse way. Can
anybody met with the same occasion before and can give me your
Please note, as the client is developed and the machine is
maintained by the third party, and has already support SSH, I can not
ask them to install another ssh client for their OS ( they must
remodify their program back to using insecure connection) .
Any clue from you are appreciated. Thanks.
- Richard E. Silverman
February 9, 2007, 5:36 pm
Re: How to use SSH to forward secure connection to insecure connection?
JB> Take a look at www.stunnel.org. -- email@example.com SDF
JB> Public Access UNIX System - http://sdf.lonestar.org
No; stunnel does SSL, not SSH.
Assuming the host is running an SSH server, you could place an SSH forced
command on the account like "nc localhost <port>", where nc is netcat and
<port> is the port on which your server is listening.
- » Is it possible to logg in through FTP to a server without having to upload any key file?
- — Next thread in » Secure Shell Forum
- » Using ssh command from C-program with STDIN problem
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum