Skip to content

Instantly share code, notes, and snippets.

@goddoe
Last active July 8, 2023 01:16
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save goddoe/5692bfc3cdc374d918a87882963edf36 to your computer and use it in GitHub Desktop.
Save goddoe/5692bfc3cdc374d918a87882963edf36 to your computer and use it in GitHub Desktop.
ssh: connect to host bitbucket.org port 22: Connection timed out
I have done below mentioned things and it started working.
vim ~/.ssh/config
Add these lines and save it.
Host github.com
Hostname ssh.github.com
Port 443
Host bitbucket.org
Hostname altssh.bitbucket.org
Port 443
@farhanviva
Copy link

thanks. it worked.

@hortegag
Copy link

hortegag commented May 2, 2023

It worked. Thankssss

@phakjira
Copy link

Worked as well. Thank youuu!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment