I am just trying to do a simple ssh into a VPS using the terminal. It asks for me to enter my passphrase three times then says "permission denied (public key)."
ssh -i [key location] [email protected]
I'm able to SFTP into the server in Cyberduck, and have also tried their 'Open in Terminal' command, which again just asks me for the passphrase three times then says permission denied.
I am able to connect using PuTTY in Windows, WinSCP and Cyberduck, so I am pretty sure I have the right key and passphrase. What am I missing here? I have a feeling it's something stupid, but I just can't figure it out.