Tunneling with SSH: binary data OK or not OK ?
This is about using tunneling with SSH, but it is also a programming issue. So I'll post my issue here first. The first might help my understanding of the second or post on a programming forum instead.
For tunneling, my client is a Windows machine using plink (from the puTTY suite) while I connect to an Ubuntu server. Both systems work fine when I tunnel to services like Apache.
I recently created an client/server application which works fine. Then I wanted to add SSH tunneling: the Horror! It looks like straight ASCII data travels well but binary data always ends up corrupted at the other end (whether it's at the client end or the server end). Is this normal? Do I need to make my application "tunneling-aware" and transform binary data into straight ASCII for transport ?
Any help appreciated.
|