summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-09-21 18:02:53 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-09-21 18:02:53 -0400
commit3ca6049b1ec994216a1091f88e0d99e14498b721 (patch)
treeda9119cb2abdde081e8fc03c3859784b77953d05
parent1b07fbb4f1f8f1c93af9a03101cab25b021fdaca (diff)
parentb6ac2e2e103a7e7494da40a9efa4cb23ace0caa3 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r--doc/forum/Possible_bug_in_setting_up_Rsync.net_remote/comment_5_6dd6819103814056d8b71356804be56a._comment12
-rw-r--r--doc/forum/Possible_bug_in_setting_up_Rsync.net_remote/comment_6_b90f349f00ea283d018681505b4feaf5._comment35
2 files changed, 47 insertions, 0 deletions
diff --git a/doc/forum/Possible_bug_in_setting_up_Rsync.net_remote/comment_5_6dd6819103814056d8b71356804be56a._comment b/doc/forum/Possible_bug_in_setting_up_Rsync.net_remote/comment_5_6dd6819103814056d8b71356804be56a._comment
new file mode 100644
index 000000000..a27494ca3
--- /dev/null
+++ b/doc/forum/Possible_bug_in_setting_up_Rsync.net_remote/comment_5_6dd6819103814056d8b71356804be56a._comment
@@ -0,0 +1,12 @@
+[[!comment format=mdwn
+ username="dave@2ab82f485adf7e2ce787066e35f5f9789bff430b"
+ nickname="dave"
+ subject="re: mangling is normal"
+ date="2016-09-21T21:12:16Z"
+ content="""
+... ok, here's the original message from the (web) UI:
+
+ ssh: Could not resolve hostname git-annex-.usw.2ds009.2ersync.2enet-9553_22_annex: Name or service not known
+
+I had figured the debug log might be helpful... Pardon me... :)
+"""]]
diff --git a/doc/forum/Possible_bug_in_setting_up_Rsync.net_remote/comment_6_b90f349f00ea283d018681505b4feaf5._comment b/doc/forum/Possible_bug_in_setting_up_Rsync.net_remote/comment_6_b90f349f00ea283d018681505b4feaf5._comment
new file mode 100644
index 000000000..1232f3195
--- /dev/null
+++ b/doc/forum/Possible_bug_in_setting_up_Rsync.net_remote/comment_6_b90f349f00ea283d018681505b4feaf5._comment
@@ -0,0 +1,35 @@
+[[!comment format=mdwn
+ username="dave@2ab82f485adf7e2ce787066e35f5f9789bff430b"
+ nickname="dave"
+ subject="re: regular ssh remote"
+ date="2016-09-21T21:30:24Z"
+ content="""
+I tried adding my rsync.net space as a regular (ssh) remote instead of as an rsync.net remote. I got this in the webapp:
+
+ Failed to ssh to the server. Transcript:
+
+(sic)
+
+This time the debug log shows this:
+
+ [2016-09-21 16:19:15.0106417] read: ssh-keygen [\"-F\",\"usw-s009.rsync.net\"]
+ [2016-09-21 16:19:15.2376417] process done ExitSuccess
+ [2016-09-21 16:19:15.2376417] chat: ssh [
+ \"-oNumberOfPasswordPrompts=0\",
+ \"-oStrictHostKeyChecking=yes\",
+ \"-n\",
+ \"-p\",
+ \"22\",
+ \"9553@usw-s009.rsync.net\",
+ \"sh -c 'echo '\\"'\\"'git-annex-probe loggedin'\\"'\\"';if which git-annex-shell; then echo '\\"'\\"'git-annex-probe git-annex-shell'\\"'\\"'; fi;if which git; then echo '\\"'\\"'git-annex-probe git'\\"'\\"'; fi;if which rsync; then echo '\\"'\\"'git-annex-probe rsync'\\"'\\"'; fi;if which ~/.ssh/git-annex-shell; then echo '\\"'\\"'git-annex-probe ~/.ssh/git-annex-shell'\\"'\\"'; fi;if which ~/.ssh/git-annex-wrapper; then echo '\\"'\\"'git-annex-probe ~/.ssh/git-annex-wrapper'\\"'\\"'; fi;cd '\\"'\\"'annex'\\"'\\"' && git config --list'\"]
+ [2016-09-21 16:19:17.4001417] process done ExitFailure 1
+
+
+For what it is worth:
+
+ $ ssh -oNumberOfPasswordPrompts=0 -oStrictHostKeyChecking=yes -n -p 22 9553@usw-s009.rsync.net sh -c 'echo hello'
+
+THAT fails with exit code 1. But that's just because it's rsync.net, a restricted shell... (The same command with just 'ls' works!)
+
+I'm back to thinking that it's actually trying to resolve the mangled string. However, I've been known to be completely wrong before!
+"""]]