ssh-keygen
跳转到导航
跳转到搜索
用法
生成密钥对
ssh-keygen -t ed25519
删除 host
从已知 host 列表中删除某个域名/IP,旧文件被移至 ~/.ssh/known_hosts.old
:
ssh-keygen -R server.example.com
查看密钥的指纹
ssh-keygen -l -f /etc/ssh/ssh_host_ed25519_key
相关版本变更
参见
外部链接
- encryption - What is the difference between DSA and RSA? - Stack Overflow
- encryption - RSA vs. DSA for SSH authentication keys - Information Security Stack Exchange