ssh-keygen -t ed25519cd ~/.sshcp id_ed25519.pub authorized_keyschmod 700 authorized_keysnano /etc/ssh/sshd_configPubkeyAuthentication yesAuthorizedKeysFile .ssh/authorized_keysPasswordAuthentication noChallengeResponseAuthentication no 最后修改:2026 年 03 月 26 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏