git-novice icon indicating copy to clipboard operation
git-novice copied to clipboard

`ssh connect to host github.com port 22 connection refused`

Open kekoziar opened this issue 3 years ago • 3 comments

At work, I just received a ssh connect to host github.com port 22 connection refused error when trying to push to a new private repo. I've not had issues connecting to public repos, and so this was new. I think our campus update security protocols. But, I want to add this solution in case other researchers run into the same issue. The problem resolved when I explicitly listed the port per the answer here: https://askubuntu.com/questions/610940/ssh-connect-to-host-github-com-port-22-connection-refused

If others run into the same problem, I think this solution can be added somewhere, either as a call-out or perhaps in the instructor notes.

kekoziar avatar Jan 24 '22 19:01 kekoziar

Thank you @kekoziar for sharing this. Visiting the same link, I find gitlab has been discussed at https://stackoverflow.com/a/45473512/4850752

@bkmgit, it might be useful for our future workshops.

annajiat avatar Jan 24 '22 22:01 annajiat

@kekoziar I think this would be a good fit for the Configuration problems and solutions wiki page, linked from the installation instructions on the workshop webpage template.

Would you be willing to add it there?

tobyhodges avatar Feb 17 '22 18:02 tobyhodges

Thanks for linking the wiki, @tobyhodges . I'll submit a PR.

kekoziar avatar Feb 18 '22 23:02 kekoziar