2017年8月28日月曜日

Bitbucketはipv6対応していない???

ある日突然??
Bitbucketにgit cloneやらアクセスできなくなるわけですね。
環境は、macOS Sierraで、ssh接続で発生しました。
Warning: Permanently added the RSA host key for IP address '2401:1d80:1010::150' to the list of known hosts.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
公開鍵を追加、削除してみたり、ssh -vvvで動作確認してみたりするのですが、 ユーザーIDは認識できているようなので、鍵は問題なさそう。 上記のように、ipv6のアドレスでアクセスしていたので、念のため [ネットワーク] => [TCP/IP] => [IPv6の設定]を「リンクローカルのみ」に変更したところ接続できました。
Warning: Permanently added the RSA host key for IP address '104.192.143.2' to the list of known hosts.
Counting objects: 50, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (36/36), done.
Writing objects: 100% (50/50), 38.81 KiB | 0 bytes/s, done.
Total 50 (delta 3), reused 0 (delta 0)
以下省略
ipv6対応してるはずなんですけどね。
https://blog.bitbucket.org/2016/07/21/bitbucket-cloud-now-available-ipv6/

時間がないので、ここまで。