Currently I am trying to synchronize two folders between my NAS and my main computer. On both machines I can access the web app. However, once I try to pair these machines with a secret phrase I get the following error:
illegal control characters in pairing message; ignoring
The log on one machine is:
[2016-03-18 14:25:16.861132] main: Pairing in progress Generating public/private rsa key pair. Your identification has been saved in /var/folders/v/hkf9zbqs0bgd2vcnmr_qnlgm0000gn/T/git-annex-keygenN92651/key. Your public key has been saved in /var/folders/v/hkf9zbqs0bgd2vcnmr_qnlgm0000gn/T/git-annex-keygenN92651/key.pub. The key fingerprint is: SHA256:beyV1f5MKFGaaH9p1CRMPmaVcYAmOyc/lhp7HCw668M username@iMac.home The key's randomart image is: +---[RSA 2048]----+ | +=o| | ..o=.B.| | o++ B o| | ++..B = | | S +=.= o| | oo.B+ o.| | . ..B o o| | E o o | | .o+ . | +----[SHA256]-----+ [2016-03-18 14:25:26.442301] main: Pairing in progress
illegal control characters in pairing message; ignoring
illegal control characters in pairing message; ignoring
illegal control characters in pairing message; ignoring
illegal control characters in pairing message; ignoring
While on the other machine I get:
[2016-03-18 14:25:35 CET] main: Pairing with username@iMac.home:~/Desktop/annex in progress
This probably has something to do with the hostname of the other host than the one that displays the error. Or possibly with the name of the user on that host, or the directory on that host where the git-annex repository is.
Can you share that information, or at least the parts of it that are not regular alphabet characters?
(There's also an outside possibility it could have found a control character in the ssh public key, but I don't see how.)
Having the same issue, the error only on one side, syncing doesn't start:
Log from other side:
By the way, any comment here is accessible for deletion by anyone. Seems like security hole
Is "username@iMac.home" data that you obscured, or are you actually using an account called "username" with a hostname of "iMac.home"?
As I said before, this is likely caused by some character that git-annex dooes not like in username or hostname of the other host than the one that displays the error.
Hopefully one of you guys who can reproduce the problem can get this basic information to me, so I can try to get to the bottom of the problem.
Seems we can rule out user/hostname/directory, which probably leaves the ssh public key as the culprit, but I'm not sure.
So, I changed the error message to display the problem data, in f36adc2dbc46ec50ee7c88962de0a0d1473681eb. Once you have a git-annex version with that commit, if you see the problem, paste in the error message and I should be able to get to the bottom of this.