ssh 更新密钥 ``` # 查看 ssh 状态 systemctl status sshd # 启动 ssh systemctl start sshd # 停止 ssh systemctl stop sshd ``` 重新生成key ``` ssh-keygen cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys ``` 下载 id_rsa 登录 ``` ssh -i id_rsa root@IP ```
《ssh 更新密钥》上暂无评论!