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

Closed
Open
Created Aug 19, 2014 by Administrator@rootOwner

CentOS git push Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

Created by: enira

I am getting the following error when trying to push to GitLab:

Pushing to git@:/.git Permission denied (publickey,gssapi-keyex,gssapi-with-mic). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

Followed procedure: Clean install: wget https://downloads-packages.s3.amazonaws.com/centos-6.5/gitlab-7.1.1_omnibus-1.el6.x86_64.rpm sudo yum install openssh-server sudo yum install postfix # Select 'Internet Site', using sendmail instead also works, exim has problems sudo rpm -i gitlab-7.1.1_omnibus-1.el6.x86_64.rpm

sudo nano /etc/gitlab/gitlab.rb # changed host

sudo gitlab-ctl reconfigure sudo lokkit -s http -s ssh

Inside GitLab: group, added project push to provided url and added SSH key to user pushing.

What is wrong?

Assignee
Assign to
Time tracking