ssh-copy-id实现SSH无密码登录

ssh-copy-id -i ~/.ssh/wlb.pub masengine@xx.xx.xx.xx(ip地址)
注意:执行此命令时,当前文件夹内必须是同时含有公钥和私钥,不然不能通过验证!

Published by

Leave a Reply