Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7307993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T23:29:48+00:00 2026-05-28T23:29:48+00:00

I have just setup a ubuntu server with gitlabhq, added a user with a

  • 0

I have just setup a ubuntu server with gitlabhq, added a user with a key and a new repository.

When I try to push I get:

Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
fatal: The remote end hung up unexpectedly

I cant see any errors in any of my logs though.
Also I have added my local machines public key to the authorized_keys on the server.

Any ideas ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T23:29:49+00:00Added an answer on May 28, 2026 at 11:29 pm
    1. Is the public key either password-less or unlocked via ssh-agent? IIRC git push does not support asking for passphrase.
    2. Try ssh-ing manually.
    3. Try GIT_SSH='ssh -v' git push ... to get more verbose output from ssh.
    4. [EDIT] Check, that the .ssh/authorized_keys file and all it’s parent directories down to root have permissions 755 (that is must not be group writable) or stricter. Home and below also should be owned by the user and the above have to be owned by root. Otherwise ssh will refuse to read authorized_keys.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have just setup our hudson server to build .NET projects which seems to
I have just set up svn on my ubuntu server. I have a my
I have just setup a wordpress forum and I find that all images are
I have an MVC 1.0 app just setup but it only shows the Index.aspx
HELP! I just setup a virtual host for two sites that have a lot
Just a basic html link question. I have an intranet setup, and I need
I have just set up cruise control.net on our build server, and I am
I'm fairly new to WebService developement and have just set up my own webservice
I have an environment setup on Ubuntu 10.04 LTS to run a Django website
I'm running Ubuntu 11.10 and have run sudo apt-get install jenkins to install Jenkins

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.