From dc5894063c3c8f607eb99d1b86d85fd82c0ad58f Mon Sep 17 00:00:00 2001 From: Stardrad Yin Date: Thu, 17 Jan 2013 13:07:59 +0800 Subject: [PATCH 1/2] Add -R option --- doc/install/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/install/installation.md b/doc/install/installation.md index eec5bb75690..9621a77afb5 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -139,7 +139,7 @@ GitLab assumes *full and unshared* control over this Gitolite installation. Fix the directory permissions for the configuration directory: # Make sure the Gitolite config dir is owned by git - sudo chmod 750 /home/git/.gitolite/ + sudo chmod -R 750 /home/git/.gitolite/ sudo chown -R git:git /home/git/.gitolite/ Fix the directory permissions for the repositories: -- GitLab From 120c114b278e7793575e20c9894f883a40878e96 Mon Sep 17 00:00:00 2001 From: Stardrad Yin Date: Thu, 17 Jan 2013 13:16:28 +0800 Subject: [PATCH 2/2] Add Custom SSH port support --- doc/install/installation.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/install/installation.md b/doc/install/installation.md index 9621a77afb5..92464376589 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -361,6 +361,21 @@ 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*. + + su gitlab + vim ~/.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 -- GitLab