I have two machines (A and B ) both have a directory called "inbox" I want to sync these two directories. So I ran git annex assistant on machine A and set up a remote to B with ssh and selected client: a repository on your computer.
The end result is that I have something that looks like a git bare repo on machine B and I have no files on A from machine B.
What am I doing wrong? What shall I do to achieve my goal? It is kind of dropbox functionality what I want. (Which I never used for security/policy reasons.)
The "Remote server using ssh" option in the webapp is intended to set up a bare git repository on a server, not a non-bare git repository on a client.
For what you want, both your computers need to be running the git-annex assistant.
git remote add B ssh://machineB:/~/annex