diff --git a/src/docs/user/userguide/diffusion_hosting.diviner b/src/docs/user/userguide/diffusion_hosting.diviner --- a/src/docs/user/userguide/diffusion_hosting.diviner +++ b/src/docs/user/userguide/diffusion_hosting.diviner @@ -283,14 +283,23 @@ - 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