- ssh key 生成
全部缺省回车# 使用RSA算法生成公钥和私钥 ssh-keygen -t rsa - 拷贝公钥到目标电脑
ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.1.51 - 测试
ssh root@192.168.1.51
# 使用RSA算法生成公钥和私钥
ssh-keygen -t rsa
全部缺省回车ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.1.51
ssh root@192.168.1.51
本文标题:安装SSH KEY登陆
本文链接:https://www.haomeiwen.com/subject/qbevfctx.html
网友评论