I've generated two keys on PuTTY: public and private. Using this software on windows I can connect to the server as usual.
Then I tried to copy those files in my ubuntu machine (21.04), and logged in loading the private key (open putty, write the user@hostname
and then load the private key at SSH>Auth), but there is unable to connect being rejected by the server as this error says:
Unable to load key file '~/private_key.ppk' (PuTTY key format too new).
And an emerging windows appears saying:
No supported authentication methods available (server sent: publickey)
So, as the first error suggest, after convert the private key to openssh PEM format through PuTTYgen and then load that file to SSH/Auth, the 'No supported' message remains before:
Unable to use key file '~/private_key_openssh' (OpenSSH SSH-2 private key (old PEM format) ).
Is there any way to use these keys on Ubuntu? Maybe through openssh?
Some info that will be useful:
- New installed version of Ubuntu
- PuTTY 0.74
The output while trying with ssh -i ~/.ssh/private_key.ppk user@hostname
Load key "~/.ssh/private_key.ppk": invalid format user@hostname: Permission denied (publickey).