Instantly share code, notes, and snippets.
命令:
cat id_rsa.pub | ssh target_host "sudo tee -a /home/tom/.ssh/authorized_keys"