Skip to content

Instantly share code, notes, and snippets.

@tiijima
Last active August 1, 2022 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiijima/e7d99583e18f10ac2de6 to your computer and use it in GitHub Desktop.
Save tiijima/e7d99583e18f10ac2de6 to your computer and use it in GitHub Desktop.
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