美文网首页
远程主机免密码登录

远程主机免密码登录

作者: issac_宝华 | 来源:发表于2017-09-02 10:27 被阅读0次

    生成密钥

    ssh-keygen -t rsa -C "your info"
    

    将密钥添加到远程主机

    ssh-copy-id root@xxxx.xxxx.xxxx.xxxx -f
    

    相关文章

      网友评论

          本文标题:远程主机免密码登录

          本文链接:https://www.haomeiwen.com/subject/iwiljxtx.html