summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStardrad Yin <yin8086@gmail.com>2013-01-17 15:11:00 +0800
committerStardrad Yin <yin8086@gmail.com>2013-01-17 15:11:00 +0800
commit6b78053d759e7d8a27afa745ba404131ff8d7877 (patch)
treed1fa854fcb9cd4894bd519f6b6481999596584ab
parent886cf2f5be5673cc99795322671e17551ee6fa3b (diff)
downloadgitlab-ce-6b78053d759e7d8a27afa745ba404131ff8d7877.tar.gz
Add SSH custom port support for install/installation.md
-rw-r--r--doc/install/installation.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index eec5bb75690..f32bbf71b68 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -361,6 +361,20 @@ a different host, you can configure its connection string via the
# example
production: redis.example.tld:6379
+## 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
+
+ # 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;
+
+Of course, you should change the ssh port of `config\gitlab.yml` to your custom port.
## User-contributed Configurations