From 11f6b01428d43a7b48db3cb5f9abf13e9f3fcc2f Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Wed, 24 Sep 2014 10:28:58 -0700 Subject: [PATCH] Support - fix some docs on ssh hosting Summary: Fixes T6169 by using the new nav element on the existing troubleshooting hint the user missed. Fixes T6173 by implementing the user's suggestion. Test Plan: Looked at docs and they looked good. Reviewers: epriestley, chad Reviewed By: chad Subscribers: fas, epriestley, Korvin Maniphest Tasks: T6169, T6173 Differential Revision: https://secure.phabricator.com/D10548 --- src/docs/user/userguide/diffusion_hosting.diviner | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/docs/user/userguide/diffusion_hosting.diviner b/src/docs/user/userguide/diffusion_hosting.diviner index a2d845577a..1639639831 100644 --- a/src/docs/user/userguide/diffusion_hosting.diviner +++ b/src/docs/user/userguide/diffusion_hosting.diviner @@ -283,14 +283,23 @@ Some general tips for troubleshooting problems with SSH: - Check that you've configured `diffusion.ssh-user`. - Check that you've configured `phd.user`. - Make sure SSH serving is enabled for the repository you're trying to clone. - You can find this in "Edit Repository" -> "Hosting". + You can change this setting from a main repository screen in Diffusion by + {nav Edit Repository > + Edit Hosting > + Host Repository on Phabricator > + Save and Continue > + SSH Read Only or Read/Write > + Save Changes}. - Make sure you've added an SSH public key to your account. You can do this - in "Settings" -> "SSH Keys". + in {nav Settings > + SSH Public Keys}. - Make sure the main repository screen in Diffusion shows a clone/checkout command for SSH. If it doesn't, something above isn't set up correctly. You should see an `svn checkout svn+ssh://...`, `git clone ssh://...` or `hg clone ssh://...` command. Run that command verbatim to clone the repository. + - Check your `phabricator-ssh-hook.sh` file for proper settings. + - Check your `sshd_config.phabricator` file for proper settings. To troubleshoot SSH setup: connect to the server with `ssh`, without running a command. You may need to use the `-T` flag. You should see a message like