SSHでGit使ってると、ファイアーウォールやプロキシ環境でいらいらしますよね。 でも主要なサイト(GitHub,GitLab,Bitbucket)なら実は443ポートでSSHできちゃったりするんです。 でも、調べても正しい情報がなかなか出てこなかったりするので自分へのメモ用に残して残しておくことにしました。 使い方は簡単!以下のコンフィグを自分仕様に合わせて書くだけ! (hoge.proxy.jpをプロキシサーバーのURLにして1080のとこはポート番号を入れてください) Windowsの場合 Git Bash使っている場合(CMDは多分ダメ) connectが入っているのでこれを使います。他の環境は調査してませんが似たような感じでいけると思います。 Host github.com User git Hostname ssh.github.com IdentityFile ~/.ssh/