From 55b842f1f114713eb4bf7386596fadc3b5443dc9 Mon Sep 17 00:00:00 2001 From: annexuser Date: Sat, 23 Apr 2016 17:48:31 +0000 Subject: [PATCH] --- ...t_fails_to_authenticate_to_rsync_remote.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/forum/Assistant_fails_to_authenticate_to_rsync_remote.mdwn diff --git a/doc/forum/Assistant_fails_to_authenticate_to_rsync_remote.mdwn b/doc/forum/Assistant_fails_to_authenticate_to_rsync_remote.mdwn new file mode 100644 index 0000000000..29a851595c --- /dev/null +++ b/doc/forum/Assistant_fails_to_authenticate_to_rsync_remote.mdwn @@ -0,0 +1,17 @@ +I have an rsync special remote for rsync.net. Recently I noticed that the assistant was not uploading files to this remote. When I look at the log in the webapp I see that it fails to authenticate: + + [2016-04-22 13:28:49.145178] NetWatcherFallback: Syncing with rsync.net + Permission denied, please try again. + Permission denied, please try again. + Received disconnect from 1.1.1.1 port 22:2: Too many authentication failures for 12345 + Connection to host.rsync.net closed by remote host. + rsync: connection unexpectedly closed (0 bytes received so far) [sender] + rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.2] + +(For privacy I replaced the IP of the rsync.net host with 1.1.1.1 and the numerical user with 12345 and the hostname with host.rsync.net. In the actual log output those 3 things have real values that are correct!) + +If I change into this annex in the terminal I can `git annex copy . --to rsync.net` and everything uploads properly, so it is just the assistant which is failing to authenticate. I'm not sure how to go about troubleshooting this. I do use an ssh key to authenticate to the remote. Maybe the assistant doesn't know about this key? + +I did create this repo and add the remote manually, only later telling the assistant about the repo through the webapp. + +What should I look into to debug this?