ssh-keygen #ssh-copy-id -i ~/.ssh/id_rsa.pub root@100.66.254.100在server端执行这条命,100.66.254.100是client端,# ssh root@ip “cd /home;ls”验证是否成功ssh-keygen #ssh-copy-id -i ~/.ssh/id_rsa.pub root@100.66.254.100在server端执行这条命,100.66.254.100是client端,# ssh root@ip “cd /home;ls”验证是否成功