Reputation: 97
I have tried to install Gitlab, but i cannot enter a custom SSH Port.
Have already set the port in gitlab.yml to my custom Port, and created the file
/home/gitlab/gitlab/.ssh/config
With my properties:
Host localhost
Port 100001
as described here.
But it still shows the following message upon testing:
bundle exec rake gitlab:app:status RAILS_ENV=production
Starting diagnostic
config/database.yml............exists
config/gitlab.yml............exists
/home/git/repositories/............exists
/home/git/repositories/ is writable?............YES
ssh: connect to host localhost port 22: Connection refused
fatal: The remote end hung up unexpectedly
Can clone gitolite-admin?............YES
UMASK for .gitolite.rc is 0007? ............YES
/home/git/.gitolite/hooks/common/post-receive exists? ............YES
Finished
and i cannot add my public ssh key in Gitlab, it says "GitLab was unable to access your Gitolite system."
Can anyone help?
Upvotes: 2
Views: 7027
Reputation: 41
You have at least two problems.
The correct path for the configuration file is /home/gitlab/.ssh/config
You cannot use port 100001 as it doesn't exist. Ports range from 1 to 65535, I'd advise you though to use a port over 9000.
Upvotes: 3