1

I am using manjaro linux. I've managed to setup ssh key before, but after i reinstall the OS, i failed after i've done all things with github ssh documents. my github commands are just waiting forever and generates this error: ssh: connect to host github.com port 22: Connection timed out, Example;

[maviay@manjaro ~]$ ssh -T git@github.com
ssh: connect to host github.com port 22: Connection timed out
  • I've done [this](https://stackoverflow.com/a/52817036/17297758) and it works. Sorry –  Nov 25 '21 at 12:53

1 Answers1

0

While a firewall issue could be a common cause for port 22 blocked, check this thread for a wifi chipset driver issue.

Said issue would not affect HTTPS (443), which is why your workaround is working:

# ~/.ssh/config
Host github.com
 Hostname ssh.github.com
 Port 443
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250