corkscrewでgit

学校でgitを使おうとしたらプロキシに阻まれたのか

$ git clone git@github.com:pneu/chat.git
Initialized empty Git repository in /******/chat/.git/
ssh: connect to host github.com port 22: Connection timed out
fatal: The remote end hung up unexpectedly

というエラーを吐き,git cloneができない.


corkscrewというソフトウェアを使うと,
HTTP Proxy経由というものでアクセスできるらしい.
# よく分かってない
~/.ssh/configに以下を追記した.

Host github.com
	HostName ssh.github.com
	Port 443
	ProxyCommand corkscrew (研究室のプロキシ) (プロキシサーバのポート) %h %p


yastでは無かったがビルドサービスを見るとcorkscrewがあったので,
corkscrew-2.0-3.1.i586.rpmというパッケージを使うことにした.