summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-07-10 17:06:23 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-07-10 17:06:23 -0400
commit5c64a20b0cd3177bd5a2d4fdf91034e477036e50 (patch)
tree99dc9d8100c91770f6668276157dc8b5acce10d9
parentb873f05ca7e86344a28d269d682b7ffd8a88baca (diff)
parent394f962e2326c5b1971a7c4fc49a2f5a9ce8fc48 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r--doc/forum/rsync_asking_for_an_unknown_password.mdwn60
1 files changed, 60 insertions, 0 deletions
diff --git a/doc/forum/rsync_asking_for_an_unknown_password.mdwn b/doc/forum/rsync_asking_for_an_unknown_password.mdwn
new file mode 100644
index 000000000..1126c31ea
--- /dev/null
+++ b/doc/forum/rsync_asking_for_an_unknown_password.mdwn
@@ -0,0 +1,60 @@
+Hello,
+
+I am on OS X, using version 5.20140613. I installed using brew.
+
+I have a really simple example where I'm trying to use local rsync to test transfer between two repos. It keeps asking me for a password over and over. I do not know what password it is.
+
+I'm literally doing just this:
+
+ $ cd annex-tests
+ $ mkdir target
+ $ mkdir source
+ $ cat > source/text
+ hi this is a test
+ $ cd source
+ $ git init
+ Initialized empty Git repository in /Users/me/Documents/annex-tests/source/.git/
+ $ git annex init
+ init ok
+ (Recording state in git...)
+ $ git annex initremote rsync-login type=rsync rsyncurl=me@localhost:/Users/me/Documents/annex-tests/target encryption=none
+ initremote rsync-login ok
+ (Recording state in git...)
+ $ git annex describe rsync-login "test rsync url with a login"
+ describe rsync-login ok
+ (Recording state in git...)
+ $ git annex add text
+ add text ok
+ (Recording state in git...)
+ $ git annex sync rsync-login --content
+ commit ok
+ copy text copy text (checking rsync-login...) Password:
+ Password:
+ Password:
+ Password:
+ Password:
+
+I try a blank password, I try my login password, I tried 'none' (the encryption type), I try everything.. no dice
+
+So right off the bat let me explain a few things.
+
+1 - Why not use rsa keys? Because I was having the exact same problem and I wanted to make it even easier and use login/password
+
+2 - Why not use the webapp since a few forum posts say you can set passwords in there? because my annex doesn't seem to recognize the command.
+
+ $ git annex webapp
+ git-annex: unknown command webapp
+
+3 - I verified my rsync command/url appears ok by doing the following. The password for that command is as expected, it is my username password:
+
+ $ cat > test2
+ hi test
+ $ rsync test2 me@localhost:/Users/me/Documents/annex-tests/target
+ Password:
+ $ cat /Users/me/Documents/annex-tests/target/test2
+ hi test
+
+
+Any help will be appreciated!
+
+