James78 Asked: 2023-02-21 06:24:19 +0800 CST2023-02-21 06:24:19 +0800 CST 2023-02-21 06:24:19 +0800 CST 如何使用 AES-GCM 生成 ssh 密钥? 772 我使用该表格创建我的 ssh 密钥:ssh-keygen -t ed25519 -C "your_email@example.com"我得到:加密:aes256-cbc,是否可以改用 aes256-gcm@openssh.com?谢谢 ssh 1 个回答 Voted Best Answer Nicolas Formichella 2023-02-21T06:38:34+08:002023-02-21T06:38:34+08:00 man 1 ssh-keygen状态 : -Z cipher Specifies the cipher to use for encryption when writing an OpenSSH-format private key file. The list of available ciphers may be obtained using "ssh -Q cipher". The default is “aes256-ctr”. ssh-keygen -t ed25519 -Z "aes256-gcm@openssh.com" -C "your_email@example.com" 应该工作得很好
man 1 ssh-keygen
状态 :应该工作得很好