我已经安装了RasPi Raspbian,现在我无法执行ssh或git clone,只看到本地主机名正在解析.然而ping工作:
pi ~ $ ssh test.com
ssh: Could not resolve hostname test.com: Name or service not known
pi ~ $ git clone gitosis@test.com:test.git
Cloning into 'test'...
ssh: Could not resolve hostname test.com: Name or service not known
fatal: The remote end hung up unexpectedly
pi ~ $ ping test.com
PING test.com (174.36.85.72) 56(84) bytes of data.
Run Code Online (Sandbox Code Playgroud)
我通过使用http://github.com代替来解决github的问题git://github.com,但这不正常,我想指出问题所在.
谷歌搜索类似的问题,但提供的解决方案是拼写错误纠正,或添加域到主机文件.
| 归档时间: |
|
| 查看次数: |
38864 次 |
| 最近记录: |