Create
cancel
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

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

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
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,892 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