公司搬家,在一台测试机上执行git clone,出现错误git
ssh: Could not resolve hostname **: Temporary failure in name resolutionssh
fatal: The remote end hung up unexpectedly测试
看错误提示应该是DNS的解析出了问题,查看/etc/resolv.conf,是空的,查看其余能够的测试机配置,有两条spa
nameserver 192.168.1.48server
nameserver 8.8.8.8rem
原来是这里配置错了,添加上,ok。it