01/06/2016 - GIT, LINUX
We have been investing plenty of personal time and energy for many years to share our knowledge with you all. However, we now need your help to keep this blog running. All you have to do is just click one of the adverts on the site, otherwise it will sadly be taken down due to hosting etc. costs. Thank you.
The error below often occurs when a change happens in your local network, ISP etc. The solution is as simple as below. For more information, read Using SSH over the HTTPS port.
$ git pull origin hotfix/1.66.1
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Fatal: Could not fetch hotfix/1.66.1 from origin.
If you get a question, answer "yes".
$ ssh -T -p 443 email@example.com
Hi inanzzz! You've successfully authenticated, but GitHub does not provide shell access.
$ sudo nano ~/.ssh/config
# Add section below to it
If you tried this at the beginning, it would hang and timeout.
$ ssh -T firstname.lastname@example.org
Hi inanzzz! You've successfully authenticated, but GitHub does not
provide shell access.