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
  • #5089

Closed
Open
Created Sep 14, 2013 by Administrator@rootOwner

Public repos fail on custom SSH port

Created by: sudodev

Using a custom port on gitlab has its quirks but most are avoidable with a mod to .ssh_config but public repos fail.

Example:

git clone http://git.domain.com:10701/root/gitlabhq.git Cloning into 'gitlabhq'... error: Recv failure: Connection reset by peer while accessing http://git.domain.com:10701/root/gitlabhq.git/info/refs?service=git-upload-pack fatal: HTTP request failed

Maybe using the .ssh_config mod will work. My server is named "githost"

git clone githost/root/gitlabhq.git Cloning into 'gitlabhq'... Access denied. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Perhaps it needs a port number (just covering all bases at this point)

git clone githost:10701/root/gitlabhq.git Cloning into 'gitlabhq'... Access denied. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Nope. I assume it's a bug but it could be me being dense.

Also, the repo is public, I can download with no problems with a standard port.

Assignee
Assign to
Time tracking