I Can not connect to GitHub by ssh.
We are using the http proxy which port is 8000.
$ ssh -T git@github.com
ssh: connect to host ssh.github.com port 22: Connection timed out
What is missing in our configuration?
I Can not connect to GitHub by ssh.
We are using the http proxy which port is 8000.
$ ssh -T git@github.com
ssh: connect to host ssh.github.com port 22: Connection timed out
What is missing in our configuration?
Using SSH through HTTP proxy would work in your case only if you define directives in ~/.ssh/config
, such as:
host github.com
user git
hostname github.com
port 22
proxycommand "/c/Program Files/Git/mingw64/bin/connect.exe" -a none -S 127.0.0.1:8000 %h %p
And, in a git bash
session (not CMD)
ssh -T github.com
(no need for git@
, since the .ssh/config file specifies the "User git
")