1 ssh-keygen (Create public and private keys)
2 ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host (Copy the public key to remote-host)
3 ssh remote-host (不用密码了)
2022-11-22 16:42:08
1 ssh-keygen (Create public and private keys)
2 ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host (Copy the public key to remote-host)
3 ssh remote-host (不用密码了)