diff options
author | 2016-11-23 18:01:06 +0000 | |
---|---|---|
committer | 2016-11-23 18:01:06 +0000 | |
commit | 7c4278b219efe3d3a81651ac1764a496a56227ea (patch) | |
tree | deb05b576aa6be2f9cf12844f64b1b566698a3bb /doc | |
parent | 464e7a84853637171b4ce68e56fa9b90df12142d (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/two-way_assistant_sync_with_ssh_special_remote.mdwn | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/forum/two-way_assistant_sync_with_ssh_special_remote.mdwn b/doc/forum/two-way_assistant_sync_with_ssh_special_remote.mdwn index 749a7937a..ca04e442c 100644 --- a/doc/forum/two-way_assistant_sync_with_ssh_special_remote.mdwn +++ b/doc/forum/two-way_assistant_sync_with_ssh_special_remote.mdwn @@ -1,20 +1,22 @@ I am attempting to set up automatic two-way synchronization between my laptop and a server via ssh by running assistant on both machines. I want to have both machines be non-bare and unlocked. -On the server: +On the rhel server: $ mkdir ~/annex - $ cd annex + $ cd ~/annex $ git init $ git annex init u --version=6 $ echo This is test file 1. >testfile1.txt $ git annex add testfile1.txt $ git annex sync + $ git remote add ml2 ssh://laptop/Users/username/annex $ git annex adjust --unlock $ git annex wanted . standard $ git annex group . client -On my laptop: +On my mac laptop: + $ cd ~/ $ git clone ssh://server/home/username/annex $ cd annex $ git annex init ml2 --version=6 @@ -23,8 +25,8 @@ On my laptop: $ git annex wanted . standard $ git annex group . client -Everything seems to work when I manually sync. When I run +Everything seems to work when I manually sync. But when I run $ git annex assistant -on both machines, however, I only get one-way automatic synchronization. Changes on the laptop are immediately propagated to the server. But changes on the server do not show up on the laptop until I manually sync. What am I doing wrong? +on both machines, I only get one-way automatic synchronization. Changes on the laptop are immediately propagated to the server. But changes on the server do not show up on the laptop until I manually sync. What am I doing wrong? |