LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
rsync via reverse ssh tunnel


Hello,

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 user@host.com
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

Johan

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

Rep: Reputation: 19
Johan,

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.
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:56 AM.

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