ssh-keygen -t rsa -b 4096 -C "your_email@example.com" -f ~/.ssh/custom_key
- -t: 指定密钥类型(默认:rsa)。
- -b: 设置密钥长度(RSA建议4096位)。12
- -C: 添加邮箱等注释信息。
- -f: 自定义密钥文件路径。
ssh-keygen -t rsa -b 4096 -C "your_email@example.com" -f ~/.ssh/custom_key
上一篇:Nginx配置免费的SSL证书
没有下一篇