Share your knowledge at the LQ Wiki.
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 06-02-2006, 11:33 AM   #1
Registered: Jan 2006
Posts: 120

Rep: Reputation: 15
rsync over ssh

I need to copy 10gb of files from one server to another. this is what I've tried:

rsync -a -e ssh /home/schfree/private_html

but I can't get it to work. I get this error:

ssh: schfree: Name or service not known
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)
Old 06-02-2006, 01:43 PM   #2
Registered: Feb 2004
Posts: 307

Rep: Reputation: 30
Why not just use SCP (SSH Copy)?

scp -r user@host:/home/schfree/private_html /home/schfree/private_html
Old 06-02-2006, 01:55 PM   #3
Registered: Jan 2006
Posts: 120

Original Poster
Rep: Reputation: 15
thanks! looks like it's working good.

will that overwrite files that are already on the destination or will it skip those? I also noticed it doesn't show what directory it's in. but still, it's working :-D

Originally Posted by Aeiri
Why not just use SCP (SSH Copy)?

scp -r user@host:/home/schfree/private_html /home/schfree/private_html


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
rsync->ssh port lackluster Linux - Software 2 05-27-2007 08:42 PM
rsync and ssh? IchBin Linux - Newbie 4 02-13-2005 03:41 PM
Rsync vs ssh satimis Linux - Software 7 04-04-2004 06:58 AM
Rsync and SSH Phaethar Linux - Software 3 03-22-2004 03:18 PM
SSH and RSYNC problem pixie Linux - General 2 03-02-2004 11:02 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration