Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2013-01-17 22:58:29 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2013-01-17 22:58:29 +0400
commit843ea5bf2239be273e684de4f4d99077c5fa5e0e (patch)
tree5d99e74138efb8ddf452c990994eac22c5d1d0c8 /doc
parent5c504ed863e6caf04306a2e4bb4954ccdf9d1f77 (diff)
Update custom SSH connection section in installation guide
Diffstat (limited to 'doc')
-rw-r--r--doc/install/installation.md17
1 files changed, 7 insertions, 10 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 0fdb52f566d..f96045c7b4f 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -354,18 +354,15 @@ a different host, you can configure its connection string via the
## Custom SSH Connection
-If your ssh port is a non-standard port, you must configure the ssh config of
-user *gitlab*.
-
- sudo -u gitlab -H vim /home/gitlab/.ssh/config
+If you are running SSH on a non-standard port, you must change the gitlab user'S SSH config.
- # Edit this file
- host localhost
- user git
- port 888 # Your port number
- hostname YOUR_SERVER_NAME or IP; # e.g., source.example.com or 127.0.0.1;
+ # Add to /home/gitlab/.ssh/config
+ host localhost # Give your setup a name (here: override localhost)
+ user git # Your remote git user
+ port 2222 # Your port number
+ hostname 127.0.0.1; # Your server name or IP
-Of course, you should change the ssh port of `config\gitlab.yml` to your custom port.
+You also need to change the corresponding options (e.g. ssh_user, ssh_host, admin_uri) in the `config\gitlab.yml` file.
## User-contributed Configurations