0
0

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 1 year has passed since last update.

Bad owner or permissions on /home/(user)/.ssh/config,エラーの対処法

Posted at

##背景
githubにEC2からSSH接続しようとしたところ↑のように怒られた。

##原因
セキュリティが緩いので、厳しくする必要がある
(エラー発生時の権限状態↓)

-rw-rw-r--

##実行したこと

chmod 600 ~/.ssh/config

をすることで所有者のみに読み書きの与える権限を与えてセキュリティ強化した。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?