GitHub Enterprise Server ユーザ: HTTPS ポートを介した SSH 経由での GitHub Enterprise Server へのアクセスは現在サポートされていません。
HTTPS ポート経由の SSH が可能かどうかをテストするには、次の SSH コマンドを実行します:
$ ssh -T -p 443 git@ssh.github.com
> Hi username! You've successfully authenticated, but GitHub does not
> provide shell access.
うまく機能すれば、素晴らしいことです。 そうでない場合は、トラブルシューティングガイドに従ってください。
HTTPS を介した SSH 接続を有効化する
If you are able to SSH into git@ssh.github.com over port 443, you can override your SSH settings to force any connection to GitHub.com to run through that server and port.
ssh 設定でこれを設定するには、~/.ssh/config のファイルを編集して、このセクションを追加してください:
Host github.com
Hostname ssh.github.com
Port 443
User git
もう一度 GitHub.com に接続することでこれが機能するかテストできます:
$ ssh -T git@github.com
> Hi username! You've successfully authenticated, but GitHub does not
> provide shell access.