Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #325

Closed
Open
Created Jan 23, 2012 by Administrator@rootOwner

SSH-Port-Setting isn't working correctly

Created by: ccoenen

As already stated in the google group, the port setting in config/gitlab.yml doesn't work as expected. Your installation will give you the /errors/githost page:

Gitolite Error
Application cant get access to your gitolite system.
1. Check 'config/gitlab.yml' for correct settings.
2. Make sure web server user has access to gitolite. Setup tutorial
3. Try:
sudo chmod -R 770 /home/git/repositories/
sudo chown -R git:git /home/git/repositories/

(just posting this to make this post easier to find.)

Also, you'll end up with gitlabhq-gitolite-TIMESTAMP directories in /tmp/

The Solution, posted by Lance on the Google group solved it for me: https://groups.google.com/group/gitlabhq/browse_thread/thread/e19d0b2378b0c04a -> don't set the port in config/gitlab.yml, create a ~/.ssh/config entry for your server instead.

I'd like to request a warning message for (or complete removal of) port-setting in config/gitlab.yml

(issue is still present in 2.1)

Assignee
Assign to
Time tracking