From 29b29a81fa3ef2782e41ee23bb933ceb5bcffa38 Mon Sep 17 00:00:00 2001 From: "dave@2ab82f485adf7e2ce787066e35f5f9789bff430b" Date: Wed, 21 Sep 2016 21:30:25 +0000 Subject: [PATCH] Added a comment: re: regular ssh remote --- ..._b90f349f00ea283d018681505b4feaf5._comment | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 doc/forum/Possible_bug_in_setting_up_Rsync.net_remote/comment_6_b90f349f00ea283d018681505b4feaf5._comment 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 0000000000..1232f3195a --- /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! +"""]]