Tôi không biết điều gì đã thay đổi, nhưng tôi đã rất ngạc nhiên khi tôi cố gắng đẩy điều khiển từ xa vào GitHub và nó đã chuyển sang một IP hoàn toàn chưa biết .Push to remote trên GitHub trỏ đến một IP server mới thay vì
[[email protected] guardonce]$ git push origin master
Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts.
Connection closed by 192.30.252.128
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Các thử nghiệm khác cho thấy cấu hình máy cục bộ của tôi là tốt. Ví dụ:
[[email protected] guardonce]$ ssh -T [email protected]
Hi slavik81! You've successfully authenticated, but GitHub does not provide shell access.
và
[[email protected] guardonce]$ git remote -v
origin [email protected]:slavik81/guardonce.git (fetch)
origin [email protected]:slavik81/guardonce.git (push)
Nhìn vào known_hosts của tôi, tôi mong đợi để được nói chuyện với github.com,204.232.175.90
. Vì vậy, tại sao tôi không?
Đó là IP GitHub, nhưng tôi không thể tìm thấy bất kỳ thông tin nào về nó tại [Trung tâm trợ giúp GitHub] (https://help.github.com/articles/what-ip-addresses-does-github-use-that- i-should-whitelist). – ptz0n
Bài đăng blog cuối cùng từ GitHub giải thích: xem [câu trả lời của tôi dưới đây] (http://stackoverflow.com/a/18432574/6309) – VonC