ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
scp <user>@*.*.com:~/.ssh/id_rsa <user>.pem
ssh -i <user>.pem <user>@*.*.com
ssh 访问不需要密码
最新推荐文章于 2023-01-29 18:14:24 发布
ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
scp <user>@*.*.com:~/.ssh/id_rsa <user>.pem
ssh -i <user>.pem <user>@*.*.com