ssh key type
2023-1-27 20:32:2 Author: dyrnq.com(查看原文) 阅读量:13 收藏

comparing-ssh-keys

[-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa]

FIDO2-Based SSH Keys (ed25519-sk and ecdsa-sk)

The sk extension stands for security key.

ssh-keygen -t ecdsa-sk
Generating public/private ecdsa-sk key pair.
You may need to touch your authenticator to authorize key generation.
Key enrollment failed: invalid format

what is fido2 security key

recommendation of Generating SSH Key File in Linux

ssh-keygen -t ed25519


## Invalid RSA key length: maximum is 16384 bits
ssh-keygen -t rsa -b 4096 


## Invalid ECDSA key length: valid lengths are 256, 384 or 521 bits
ssh-keygen -t ecdsa -b 521

ref


文章来源: https://dyrnq.com/ssh-key-type/
如有侵权请联系:admin#unsafe.sh