Problem after exhausting every method to git pull from Github over SSH:
ssh: connect to host
port 22: Connection refused
Solution was to change DNS provider to Cloudflare. In my case TalkTalk KidSafe filter was the issue.
A useful command for debugging SSH connections is…
ssh -Tv [email protected]