3 ms·
I use pageant as my SSH Agent and WSL to access it through ssh-agent. I only used to generate Keys with Putty, (Puttygen), but reverted to standard Linux `ssh-k
by Helmut10001 2y ago
I use pageant as my SSH Agent and WSL to access it through ssh-agent. I only used to generate Keys with Putty, (Puttygen), but reverted to standard Linux `ssh-keygen` in the last 2-3 years.
I am still wondering what the exact steps are to show the key type.
- ajb 2y agoYou can look in the key file. From the OP: "has an id starting ecdsa-sha2-nistp521 in [...] the key file" He also mentions some other places the information shows up.
- Helmut10001 2y agoAh, yes - there it is (in KeePass/KeeAgent, under `Advanced`, click on the private key file (*.ppk) and then on Open > Internal Viewer). > PuTTY-User-Key-File-2: ssh-rsa..Encryption: aes256-cbc Indeed I seem to have used Puttygen in the past. For keys from Linux ssh-keygen, the private key starts with: > -----BEGIN OPENSSH PRIVATE KEY----- and the public key starts with > ssh-ed25519
- Brybry 2y agoI believe ssh-keygen -t ecdsa -b 521 pub keys will have ecdsa-sha2-nistp521 in plaintext at the start. I don't know how to tell from the priv key. And I think converted key pairs in Putty format (.ppk) will have PuTTY-User-Key-File-2: ecdsa-sha2-nistp521 in plaintext. For Pageant you should be able to select view keys from the system tray icon context menu and it should show the key type in the list. For ssh-agent I think ssh-add -L should list the public keys (with key type) in the same format as the authorized_keys file I'm not an expert, so if anyone is please correct me where I'm wrong!