ssh-keygen
cat id_rsa.pub >> authorized_keys
目标机器上授权
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
ssh root@{remote.target.host}
ssh-keygen
cat id_rsa.pub >> authorized_keys
目标机器上授权
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
ssh root@{remote.target.host}