您当前的位置: 首页 >  ssh

ITKEY_

暂无认证

  • 0浏览

    0关注

    732博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Bad owner or permissions on /home/vncuser/.ssh/config

ITKEY_ 发布时间:2021-03-08 16:09:48 ,浏览量:0

今天在一台机器上配置ssh免密码登录遇到这样的问题。 Bad owner or permissions on /home/vncuser/.ssh/config

解决办法:

chmod 600 ~/.ssh/config

第一次遇到这种情况,之前只对~/.ssh/id_rsa.pub 设置权限就可以了。

chmod 600 ~/.ssh/id_rsa.pub

参考: https://my.oschina.net/lovewinner/blog/1118876

关注
打赏
1665243900
查看更多评论
立即登录/注册

微信扫码登录

0.0461s