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:47:17 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2013-01-17 22:47:17 +0400
commit5c504ed863e6caf04306a2e4bb4954ccdf9d1f77 (patch)
tree72d70d0fc97bbe040cc7430b3f74b6192f6971dd /doc
parent48a5012b211ab2d7938b30e89e878b9212594bf3 (diff)
parent6b78053d759e7d8a27afa745ba404131ff8d7877 (diff)
Merge pull request #2632 from yin8086/SSHPort
Add SSH custom port support for install/installation.md
Diffstat (limited to 'doc')
-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 12a0cc917be..0fdb52f566d 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -352,6 +352,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