阿和
Published on 2025-06-10 / 4 Visits
0
0

配置SSH免密登陆

创建ssh密钥

ssh-keygen -t rsa

将公钥发送到目标服务器

ssh-copy-id username@remote_host

测试免密登陆

ssh username@remote_host


Comment