tohokuaikiのチラシの裏

技術的ネタとか。

githubに昔に登録したsshキーでプライベートリポジトリをcloneしようとしたらダメだった件について

なんか、鍵のバージョンが低かったのか強度が弱かったのかダメっぽかった。

$ git clone git@github.com:xxxxxx/******.git
Cloning into '******'...
ERROR: Sorry, but @xxxxxx has blocked access to SSH keys created by some third-party applications. Your key was created before GitHub tracked keys created by applications, so we need your help.

If you personally created this key, you can approve it at:

  https://github.com/settings/ssh/audit/xxxxxx/policy

Otherwise, please upload a new key:

  https://github.com/settings/ssh

Fingerprint: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx

[EPOLICYKEYAGE]

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

って文句言われた。

Ubuntu14のssh-keygenで作り直してsshキーをgithubに登録したら問題なくcloneできた。