Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
843ea5bf
Commit
843ea5bf
authored
Jan 17, 2013
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update custom SSH connection section in installation guide
parent
5c504ed8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
doc/install/installation.md
doc/install/installation.md
+7
-10
No files found.
doc/install/installation.md
View file @
843ea5bf
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment