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 bitbucket.org
    Hostname  altssh.bitbucket.org
    Port  443

For Windows:

  • Go to the place where your .ssh folder is located (run %USERPROFILE%).

  • open the .ssh folder and create a file with the name config without any extension.

  • Paste the below content and save it.

    Host github.com
              Hostname ssh.github.com
              Port 443
    
    Host bitbucket.org
              Hostname  altssh.bitbucket.org
              Port  443
    

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)