linux 免密登录

ssh-keygen -t rsa -P ""

ssh-copy-id -i ~/.ssh/id_rsa.pub root@服务器地址

posted @ 2018-11-29 22:11  hoey94  阅读(156)  评论(0编辑  收藏  举报