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 schfree:xxxxxxxxx@65.98.xxx.xxx:/home/schfree/private_html /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) |
Why not just use SCP (SSH Copy)?
Code:
scp -r user@host:/home/schfree/private_html /home/schfree/private_html |
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 Quote:
|
All times are GMT -5. The time now is 05:55 PM. |