Permissions 0755 for '/Users/*/item2/xxxx.pem' are too open.

Permissions 0755 for '/Users/*/item2/xxxx.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Permissions 0755 for '/Users/xxxxx/.ssh/id_rsa' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. Load key "/Users/xxxxx/.ssh/id_rsa": bad permissions Permission denied, please try again. Permission denied, please try again

需要将权限设置为600

sudo chmod -R 600 xxxx

发布了235 篇原创文章 · 获赞 221 · 访问量 96万+

猜你喜欢

转载自blog.csdn.net/drdongshiye/article/details/103677059