Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-07-2011, 03:44 PM   #1
Registered: Jul 2009
Posts: 36

Rep: Reputation: 0
rsync via reverse ssh tunnel


I run a cygwin installation on my windows 7 laptop.

I run a rsync service, it works perfectly and is up and running.

I start a reverse ssh tunnel: ssh -R 877:localhost:873
The tunnel works and is up and running.

Then from my server I run the following command
rsync -av --port 877 useronlap@localhost::modulename/c/Users/useronlap/Documents/ /root

Everything works except for ,,,,, in the filenames.

If I on the other hand runs rsync via ssh from my laptop to my server directly the swedisch characters works.

Both the server and the laptop cygwin installation runs on sv_SE.ISO8859-1.

Anybody out there with a solution?

Best regards


Last edited by dexznrl; 02-07-2011 at 03:58 PM.
Old 02-08-2011, 08:38 AM   #2
Registered: Apr 2007
Location: Indianapolis, Indiana
Distribution: RHEL, Fedora, AIX, HP-UX, FreeBSD, Slackware
Posts: 62

Rep: Reputation: 19

I'm just throwing idea's out here so please don't flog me if it's not a good solution for you.

Have you tried adding a process to your script, such as some commands to tar your files before they're sent in rsync? If you're using rsync to update flat files rather frequently this idea may be useless.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Reverse SSH tunnel connection problem orwb Linux - Server 6 12-01-2010 03:16 PM
Reverse SSH Tunnel Ubuntu and Windows 7 twaddlac Linux - Networking 6 10-06-2010 11:27 AM
[SOLVED] Reverse SSH tunnel edan Linux - Security 3 07-14-2010 09:37 PM
SSH reverse tunnel (lo only? why not eth0) Dinomight Linux - Networking 3 08-17-2006 09:44 PM
Reverse SSH Tunnel sniggleflop Linux - Security 1 10-13-2002 01:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:53 AM.

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