ssh-keygen[-q][-a rounds][-b bits][-C comment][-f output_keyfile][-m format][-N new_passphrase][-O option][-t dsa|ecdsa|ecdsa-sk|ed25519|ed25519-sk|rsa][-w provider][-Z cipher]ssh-keygen -p[-a rounds][-f keyfile][-m format][-N new_passphrase][-P old_passphrase][...
在日常使用中,每个希望使用公钥身份验证的用户都会运行ssh-keygen生成身份验证密钥,通常存储路径为~/.ssh/id_dsa、~/.ssh/id_ecdsa、~/.ssh/id_ecdsa_sk、~/.ssh/id_ed25519、~/.ssh/id_ed25519_sk或~/.ssh/id_rsa。系统管理员亦可通过此命令为系统生成主机密钥。在生成密钥时,程序会请求指...
ssh-keygen [-q] [-a rounds] [-b bits] [-C comment] [-f output_keyfile] [-m format][-N new_passphrase] [-O option][-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa] [-w provider] [-Z cipher] ssh-keygen -p [-a rounds] [-f keyfile] [-m format] [-N ne...
ssh-keygen [-q] [-a rounds] [-b bits] [-C comment] [-f output_keyfile] [-m format] [-N new_passphrase] [-O option] [-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa] [-w provider] [-Z cipher] ssh-keygen -p [-a rounds] [-f keyfile] [-m format] [-N...
ed25519-sk rsa 回到顶部 命令和选项 -b “Bits” 此选项指定密钥中的位数。管理 SSH 用例的法规可能要求使用特定的密钥长度。通常,2048 位被认为足以用于 RSA 密钥。 -e “Export” 此选项允许在 OpenSSH 密钥文件格式和RFC 4716 “SSH 公钥文件格式”中记录的格式之间重新格式化现有密钥。
In the bottom line, if you have access to a key that supportsed25519-skthen it’s preferable to use it. If you don’t, that’s not something to worry about to much. There are probably weaker points in your threat model anyway. ...
ed25519:这是一种基于椭圆曲线加密算法的公钥加密方案,它被广泛应用于 SSH 密钥认证。ed25519 密钥具有更高的安全性和更好的性能,因此在许多情况下被认为是最佳选择。 ECIES:这是一种基于椭圆曲线加密算法的加密方案,可以在 SSH 中使用。ECIES 密钥通常用于加密和解密敏感数据。
ecdsa-sk ed25519 ed25519-sk rsa 命令和选项 -b “Bits” 此选项指定密钥中的位数。管理 SSH 用例的法规可能要求使用特定的密钥长度。通常,2048 位被认为足以用于 RSA 密钥。 -e “Export” 此选项允许在 OpenSSH 密钥文件格式和RFC 4716 “SSH 公钥文件格式”中记录的格式之间重新格式化现有密钥。
ssh-keygen[-q] [-arounds] [-bbits] [-Ccomment] [-foutput_keyfile] [-mformat] [-Nnew_passphrase] [-Ooption] [-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa] [-wprovider] [-Zcipher] ssh-keygen-p[-arounds] [-fkeyfile] [-mformat] [-Nnew_passphrase] [-Pold...
ssh-keygen [-q] [-arounds] [-bbits] [-Ccomment] [-foutput_keyfile] [-mformat] [-Nnew_passphrase] [-Ooption] [-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa] [-wprovider] [-Zcipher] ssh-keygen -p [-arounds] [-fkeyfile] [-mformat] [-Nnew_passphrase] [-...