コード サーバー OpenSSH がバージョン 7.6 から 8.7p にアップグレードされた後、コードを gitlab から取得できません。エラーは次のとおりです。
Cloning into 'test'...
Bad owner or permissions on /home/user/.ssh/config
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
構成権限を表示します。問題の原因: 構成ファイルのパーミッションがオープンすぎる
$ ll ~/.ssh/config
-rw-rw-r-- 1 user user 114 6月 28 17:41 config
構成ファイルのパーミッションを 600 に変更します。問題が解決しました。
$ chmod 600 ~/.ssh/config
$ ll ~/.ssh/config
-rw------- 1 user user 114 6月 28 17:41 config