ssh 免密码登陆

cat ~/.ssh/id_rsa.pub | ssh user@host "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"

posted on 2015-08-25 14:58  DDC's blog  阅读(105)  评论(0编辑  收藏  举报