Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Push Fails (Permission Denied) Edited



Hey all,

I'm a novice programmer and I've been suffering this issue for couple of days.

This is my second laptop that I am using to push codes.

Whenever I try to push, this error happens.

The only solution that I have is to completely wipe the local repository then clone again from remote.

It works four couple of hours then it spits the error above again.

I've tried

Numerous times but it does not work.

Any suggestions?

1 answer

0 votes

Hello @Kurt Kim,

Welcome to the Community.

Does push ever work? I have a feeling you're using access key instead of your account SSH key. What is the output of auth test:

ssh -T

It should print out "logged in as <your username>".

If my assumption was incorrect, please enable verbose logging when you face push failure next time. You can do that by setting GIT_SSH_COMMAND="ssh -v" environment variable or by applying configuration for Git: git config --add core.sshCommand "ssh -v" (make sure to run within your repository, or add --global to enable for Git across the system).

Hope this helps. Let me know what you find.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,926 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you