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

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
Posted in Bitbucket

How do you use the Bitbucket-Jira integration? How does it help your team?

Hey everyone, over the past year, we've added several new features on how you can use Bitbucket and Jira together. We'd love to know how you'll are using the integration and how it's helping your t...

159 views 0 2
Join discussion

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