LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-11-2008, 11:25 PM   #1
narc
Member
 
Registered: Aug 2004
Location: Montréal
Distribution: Linux from scratch
Posts: 68

Rep: Reputation: 15
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.
 
Old 11-12-2008, 02:11 AM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Hi.


You can, as far as I know, push any kind of bit stream (data) through a SSH connection/tunnel. If your data seem scrambled on the receiving part I'd guess that the received data is not handled correctly.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with ssh tunneling rafa_gallego Linux - Networking 1 01-22-2008 10:45 AM
SSH Tunneling kpenrose Linux - Networking 4 10-16-2007 05:40 PM
SSH tunneling entz Linux - Networking 3 04-04-2007 07:22 AM
DISCUSSION: Tunneling Data jeremy LinuxAnswers Discussion 0 10-10-2005 07:25 PM
Tunneling through SSH rech Slackware 1 11-28-2003 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration