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.
http://github.com
代わりに を使用して github で回避しましたgit://github.com
が、これは正常ではなく、問題を特定したいと思います。
同様の問題をグーグルで検索しましたが、提供された解決策は、タイプミスの修正、またはホスト ファイルへのドメインの追加でした。