Merge commit 'fb95a1bfe8b8a534afe443d53d4fe22b7f373f85'
* commit 'fb95a1bfe8b8a534afe443d53d4fe22b7f373f85': Update documentation for testing SSH connection
This commit is contained in:
@@ -61,14 +61,25 @@ to connect to Gerrit's SSHD port. By default Gerrit is running on
|
|||||||
port 29418, using the same hostname as the web server:
|
port 29418, using the same hostname as the web server:
|
||||||
|
|
||||||
====
|
====
|
||||||
|
..................................................................
|
||||||
$ ssh -p 29418 sshusername@hostname
|
$ ssh -p 29418 sshusername@hostname
|
||||||
gerrit: no shell available
|
|
||||||
|
**** Welcome to Gerrit Code Review ****
|
||||||
|
|
||||||
|
Hi John Doe, you have successfully connected over SSH.
|
||||||
|
|
||||||
|
Unfortunately, interactive shells are disabled.
|
||||||
|
To clone a hosted Git repository, use:
|
||||||
|
|
||||||
|
git clone ssh://sshusername@hostname:29418/REPOSITORY_NAME.git
|
||||||
|
|
||||||
Connection to hostname closed.
|
Connection to hostname closed.
|
||||||
|
..................................................................
|
||||||
====
|
====
|
||||||
|
|
||||||
In the command above, `sshusername` was configured on the `SSH Keys`
|
In the command above, `sshusername` was configured as `Username` on
|
||||||
tab of the `Settings` screen. If it is not set, propose a name
|
the `Profile` tab of the `Settings` screen. If it is not set,
|
||||||
and use `Change Username` to select the name.
|
propose a name and use `Select Username` to select the name.
|
||||||
|
|
||||||
To determine the port number Gerrit is running on, visit the special
|
To determine the port number Gerrit is running on, visit the special
|
||||||
information URL `http://'hostname'/ssh_info`, and copy the port
|
information URL `http://'hostname'/ssh_info`, and copy the port
|
||||||
|
|||||||
Reference in New Issue
Block a user