"Permissions are too open" while logging in to ssh

我在使用OpenSSH登录SSH服务器时遇到了问题(注意:我在Windows上,我需要使用OpenSSH)

Permissions 0644 for 'privkey.ppk' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: privkey.ppk
Enter passphrase for key 'privkey.ppk':
Permission denied (publickey).

First of all, you need to convert the PPK file format to OpenSSH format, if you want to use it in SSH.

Second thing is that the private key should not be readable by anyone else but you. So setting permissions to 600 is a good idea ( chmod 600 privkey.ppk ).


您应该将文件权限更改为400而不是600

链接地址: http://www.djcxy.com/p/85364.html

上一篇: 从创建的ssh密钥中检查我的私钥

下一篇: 登录到ssh时,“权限太大”