2
votes

I have a problem while I am logging to my SSH server using OpenSSH (note: i am on windows and i need to use 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).
2

2 Answers

2
votes

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).

0
votes

You should change the file permission to 400 not 600.