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

Suddenly unable to connect to bitbucket via ssh from windows 10 terminal

karunt June 10, 2020

Until recently, I was able to perform git operations between my local repository and my repository on bitbucket from a windows terminal via SSH.  All of a sudden, I started getting the following error when I tried "git push" or "git pull":

"An unexpected error occured

fatal: Could not read from remote repository

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

In the repository settings, I'm listed as the owner.  The appropriate SSH key has been added to my bitbucket account.  Moreover, this problem suddenly began two days ago (after having used bitbucket successfully for over a year).

 

ssh -T git@bitbucket.org gives the following message: "PTY allocation request failed on channel 0" - not sure what that means or how to resolve it

 

Connecting to bitbucket with SSH (command: ssh git@bitbucket) yields the following message:

"PTY allocation request failed on channel 0

logged in as [my_username_for_bitbucket]

 

You can use git or hg to connect to Bitbucket. Shell access is disabled

Connection to bitbucket.org closed."

 

Not sure why this happened so suddenly and don't know how to fix it.  Any help?  Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events