Unable to rsync between my server and my Mac -


I have a server where I store data from Mac A and Mac B.

I use rsync to keep updated files between my max.

I run the following code incorrectly

  #! Rsync -pav $ moss: ~ / private / ~ / dropbox / course / math / # rsync -pav to copy files from my folder to my server / bin / zsh # to copy files to my folder from my server ~ / Dropbox / courses / math $ Masi: ~ / private /  

I get the following error message

  ssh: Join host port 22: Connection Denied rsync: connection closed unexpectedly (0 bytes so far) [receiver] rsync error: unclear Error (code 255) at io.c (600) [receiver = 3.0.5] ssh: Join host port 22: Connection refused rsync: connection unexpectedly closed (0 bytes so far) [sender] rsync Error: Unexplained error (code 255) on Io.c (600) [sender = 3.0.5]  

I have a SSP key so the connection should work, because I can use Are sc p.

How can you use rsync between my server and one of my Macs?

I used to do a lot. Just a test, ran some suggestions.

  1. Type your entire user @ host pattern
  2. To run a ssh connection without the first rsync, you first have your fingerprint
  3. Do not pass a flag to protect, it can get broken files on OS X. If you do not need processing forks, then you are fine, but for longer periods you need them.

My test case:

$ rsync -pav ~ / Desktop / me@remote.example.com: ~ / rsyc -test

In that case, ~ / all the files inside the desktop were copied to the remote host, in my house. Since the director 'RSIC-Test' was not present, it was made for me an .app on my desktop, it ended it, surprisingly, it works. Even something VoLok files are created and visible to work, although I do not believe it.

I strongly suggest that the flag -

  e, - apple special to copy extended features, extractibriote, resource fork, and ACL the option. At least Mac OS X 10.4 is required or appropriate patching is RSINCC. I run a new test, took the intercept bookmark to my desktop, I know for a fact that if they have been copied without processing forks, then it is for breaking. E is running without E., the difference in the data is 152 bytes. The first file on the remote machine did not work, the second transform file worked.  

I can not help in your example, but there is one ~ / dropbox in my path, so this is not everything, because dopbox, app, currently not all support resources are in the forks, though I think there are plans in the future.

You are not even sending in the delete flag, if your ultimate goal is to mirror your data, you are not doing this, if your final goal is back up, which is constantly growing, which is on the source There was ever a lack of that -delete.

Other Note:
You can exclude those stupid ones. DD_store files - Include in 'dc_store' -

You can also set up resuscitation as a true mirror, so you will not need to run your other commands, see the man page for details. .

My last working order to push my laptop's desktop to a remote machine:

  $ rsync -PEav --delete - '.DS_Store' ~ / Desktop / me @ Remote.example.com: Exclude ~ / rsy CN-test  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -