Hello,
I have generated a public/private key pair with Easy RSA. I have placed the public key in ~/.ssh/authorised_keys and I'm trying to connect via SSH.
Then I copy the private key into my windows host and open up Putty. I go to Connection --> SSH --> Auth and Browse for the private key.
However, when I click OPEN, nothing happens. If I try "Putty Gen Generator" to convert the format, "Import key" says "Unrecognized Key Format".
¿Why is that so? ¿Isn't it a standard?
Thanks!
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Putty doesn't work with Easy RSA keys
Re: Putty doesn't work with Easy RSA keys
Private key is private, it should never be moved anywhere. It's the puplic key, you transfer.banderas20 wrote:Hello,
I have generated a public/private key pair with Easy RSA. I have placed the public key in ~/.ssh/authorised_keys and I'm trying to connect via SSH.
Then I copy the private key into my windows host and open up Putty. I go to Connection --> SSH --> Auth and Browse for the private key.
However, when I click OPEN, nothing happens. If I try "Putty Gen Generator" to convert the format, "Import key" says "Unrecognized Key Format".
¿Why is that so? ¿Isn't it a standard?
Thanks!
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: Putty doesn't work with Easy RSA keys
Yes. I know that. Maybe haven't made myself clear.arzgi wrote:Private key is private, it should never be moved anywhere. It's the puplic key, you transfer.banderas20 wrote:Hello,
I have generated a public/private key pair with Easy RSA. I have placed the public key in ~/.ssh/authorised_keys and I'm trying to connect via SSH.
Then I copy the private key into my windows host and open up Putty. I go to Connection --> SSH --> Auth and Browse for the private key.
However, when I click OPEN, nothing happens. If I try "Putty Gen Generator" to convert the format, "Import key" says "Unrecognized Key Format".
¿Why is that so? ¿Isn't it a standard?
Thanks!
Public key remains on the server (~/.ssh/authorised_keys)
Private key is on the client (Windows + Putty)
Re: Putty doesn't work with Easy RSA keys
Have you tried ssh-keygen or puttygen instead of the easy rsa keys? I assume that their key files have a different format which putty can't handle.banderas20 wrote:However, when I click OPEN, nothing happens. If I try "Putty Gen Generator" to convert the format, "Import key" says "Unrecognized Key Format".
Have a nice day!
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: Putty doesn't work with Easy RSA keys
Not yet. And I wanted to avoid that not to have too many files. But as I have read through different websites, maybe it's something that has to do with the file format, as you point out. So I won't have any other option.cronoik wrote:Have you tried ssh-keygen or puttygen instead of the easy rsa keys? I assume that their key files have a different format which putty can't handle.banderas20 wrote:However, when I click OPEN, nothing happens. If I try "Putty Gen Generator" to convert the format, "Import key" says "Unrecognized Key Format".
Thanks and regards!
Re: Putty doesn't work with Easy RSA keys
from the one time i tried putty i remember that it doesn't recognize all key formats.
i think i even had to edit the key file's header manually.
i think i even had to edit the key file's header manually.
-
- Posts: 111
- Joined: 2016-11-10 15:30
Re: Putty doesn't work with Easy RSA keys
Do you remember the change?debiman wrote:from the one time i tried putty i remember that it doesn't recognize all key formats.
i think i even had to edit the key file's header manually.
Thanks!