状況
AWSでRubyOnRails環境を構築中。
こちらのページを参考に、git clone。
[hoge@fuga rails]$ git clone https://github.com/hoge/fuga.git
ここで、以下のエラー文。
Bad owner or permissions on ~/.ssh/config
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解決策
$ chmod 600 ~/.ssh/config
configへのアクセス権限がなかったため起きた。