4 ms·
That may be true, but you'll need to update you public key anywhere you use the `ssh-rsa` method; i.e. my github public keys[1] will all need updating. I use t
by GauntletWizard 6y ago
That may be true, but you'll need to update you public key anywhere you use the `ssh-rsa` method; i.e. my github public keys[1] will all need updating.
I use this set, statically copied, in most of my various machines and logins. You can generate a `rsa-sha2-512` public key for your existing private key, but for most people the update is less confusing to generate a new key than to use a new private key. Only in scenarios where you have the same private key across several machines do you save any time, and I (and security professionals) have been advising against that for ages.
[1] https://github.com/gauntletwizard.keys https://github.com/gauntletwizard.keys
- georgyo 6y agoThis is not true, for client keys ssh-rsa is just fine. If you're using certificates then you may need to get those resigned. But most people aren't using certificates, just bare rsa keys. And ssh-rsa client keys don't specify a hashing algo at all. Even if you specified `-t rsa-sha2-512` it would still output a ssh-rsa .pub.
- jlgaddis 6y agoThe section of the RFC linked in the comment you're replying to even explicltly states: > All aspects of the "ssh-rsa" format are kept, including the encoded string "ssh-rsa". This allows existing RSA keys to be used with the new public key algorithms, without requiring re-encoding or affecting already trusted key fingerprints.