美文网首页
ansible keyfile有密码短语怎么办

ansible keyfile有密码短语怎么办

作者: 小黑佬 | 来源:发表于2020-02-28 11:57 被阅读0次

    How to remember/cache or specify private key passphrase for Ansible ?

    解决办法:

    eval `ssh-agent -s`
    ssh-add /root/id_rsa
    

    ssh-add + 你的密钥路径位置,ansible调用的密钥!

    相关文章

      网友评论

          本文标题:ansible keyfile有密码短语怎么办

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