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

ssh: connect to host bitbucket.org port 22: Network is unreachable

Dov January 17, 2017

I pasted in my SSH key.

git pull fails with the above error.

The key looks like: 

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNRMVFmwNmeRk4R9uH6HDrYxhGlkjdBnJa3JP38lG1pPauyf+ADlGIzxWeRyft5qV......NkT+m7GurJNnYlRwlY6YvUkJfa7aaAmdBd4ybljSGqOHI1OKLYq8d08lbn+s+eYal9tuIqEaXO1+KoalB Dov Neimand@DESKTOP-N32J6EB

 

Is it possible that the space between Dov and Neimand is killing it?  If not, what else could be wrong?  We tried twice and are pretty confident that the ssh key is correctly pasted.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2017

"network is unreachable" really does mean it can't get connection from your machine to the server.

I'd say yes, the spaces in there are breaking it, but it's because your command is actually trying to connect to a server with your key name.  You really want to connect to <username>@desktop...

Have a look at the instructions for using ssh-rsa again

TAGS
AUG Leaders

Atlassian Community Events