添加ssh-keyLixp 2024-07-01 2024-07-01 约 22 字 预计阅读 1 分钟 目录 sh # 在机器上添加 echo "ssh-key" >> ~/.ssh/authorized_keys # 直接添加到远程 ssh-copy-id user@host