8
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AWSにSSH接続した際のエラー:Bad owner or permissions on

8
Posted at

状況

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へのアクセス権限がなかったため起きた。

8
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?