6

Bad owner or permissions on ssh config

 3 years ago
source link: http://blog.devwiki.net/index.php/2020/05/21/bad-permission-ssh-config.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

DevWiki

Bad owner or permissions on ssh config
今天在 wsl 中使用 git 是遇到这个错误, 如下:git push --set-upstream origi...
扫描右侧二维码阅读全文
21
2020/05

Bad owner or permissions on ssh config

  1. 首页

今天在 wsl 中使用 git 是遇到这个错误, 如下:

git push --set-upstream origin master
Bad owner or permissions on ~/.ssh/config
fatal: Could not read from remote repository.

意思是 config 文件的权限不对, 正确设置如下:

chmod 600 ~/.ssh/config
最后修改:2020 年 05 月 21 日 06 : 23 PM
如果觉得我的文章对你有用,请随意赞赏

发表评论 取消回复

评论 *

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK