Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Sourcetree git cli (terminal) stopped working. Permission denied (publickey).

Guys hi,

As the title says source git cli (terminal) stopped working. Gives error:


Permission denied (publickey).
fatal: Could not read from remote repository.

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


Main Sourcetree UI push/pull buttons work fine.

Cli worked before, not sure what's the cause.

Details: Windows, Putty.

1 answer

0 votes
minnsey Atlassian Team Mar 27, 2019

Hi, not obvious what is going wrong, is this the cli opened from the Terminal?

Have you switched to PuTTY from openSSH at all?

What Git version are you running?

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events