SSH Invalid when using ssh-keygen -p
I created an SSH key with PuTTY and can use it to successfully login to my droplet.
I tried to change the SSH key passphrase with
Enter file in which the key is (/root/.ssh/idrsa):
Failed to load key /root/.ssh/authorized_keys: invalid format
The content of /root/.ssh/authorizedkeys file is exactly the same as that generated by PuTTYgen (Public key for pasting into OpenSSH authorizedkeys file).
does anyone know why its invalid of am I doing something wrong? or better still can I debug this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×