linux-免密操作 生成秘钥 ssh-keygen -t rsa 复制SSH密钥到目标主机 ssh-copy-id -i ~/.ssh/id_rsa.pub test@192.168.2.100 免密访问目标主机 ssh test@192.168.2.100