Commit 5c504ed8 authored by Riyad Preukschas's avatar Riyad Preukschas

Merge pull request #2632 from yin8086/SSHPort

Add SSH custom port support for install/installation.md
parents 48a5012b 6b78053d
...@@ -352,6 +352,20 @@ a different host, you can configure its connection string via the ...@@ -352,6 +352,20 @@ a different host, you can configure its connection string via the
# example # example
production: redis.example.tld:6379 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 ## User-contributed Configurations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment