ssh connect to host bitbucket.org port 22: Connection timed out
Use your favorite terminal vim ~/.ssh/config Add these lines and save it. Host bitbucket.org Hostname altssh.bitbucket.org Port 443
Here is what the above code is Doing:
1. It’s creating a new SSH key using the email as a label.
2. It’s adding the new SSH key to the ssh-agent.
3. It’s adding the new SSH key to your GitHub account.