I have been trying to connect to a remote server using my private key file from the terminal, but it doesn't seem to work. I don't understand why. Here is how I do it:
$ ssh -i private.ppk [email protected]
Enter passphrase for key 'private.ppk':
Enter passphrase for key 'private.ppk':
Enter passphrase for key 'private.ppk':
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
My private key file has 600 mode. I am able to use PuTTY on my Linux box to connect with this private key file. What can be the problem?