LoginSignup
1
0

More than 3 years have passed since last update.

ssh -T git@github.comしたらタイムアウトする

Last updated at Posted at 2019-08-24

問題

ssh -T git@github.comでsshキーの確認をしようとしたら、

❯ ssh -T git@github.com
ssh: connect to host github.com port 120: Connection timed out

とかわけのわからないことを言われる。

環境

Raspbian GNU/Linux 9 (stretch)

原因

/etc/ssh/ssh_configをのぞいてみると、Host *の下のところになぜかPort 120があったので、それをコメントアウト。

ちなみに、ssh -v <args>でデバグできます。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0