SSH免密登录

#linux

1. 生成密钥

ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

2. copy 到目标机器

ssh-copy-id user@remote_host