Skip to content

Instantly share code, notes, and snippets.

@tiijima
Last active 7 years ago
Embed
What would you like to do?
git/github git pullしたらエラーになった。 ssh: Could not resolve hostname github.com: Temporary failure in name resolution

git/github git pullしたらエラーになった。 ssh: Could not resolve hostname github.com: Temporary failure in name resolution

環境

  • virtualbox/vagrant/centos6.7

エラー内容

ssh: Could not resolve hostname github.com: Temporary failure in name resolution
fatal: The remote end hung up unexpectedly

対処法

service httpd restart
service network restart
  • もしかするとPCがスリープモード入ってネットワーク切断されたのが原因かも?

参考

vagrantで起動したCentOS6.5でbitbucketにpush出来なくなった - さよならとりっぷ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment