ssh-keygen -t rsa -P ” -f ~/.ssh/id_rsa
scp ~/.ssh/id_rsa.pub user@host:/home/user/.ssh/
ssh user@host
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
[linux] 自动ssh登录
最新推荐文章于 2023-10-12 10:47:54 发布
ssh-keygen -t rsa -P ” -f ~/.ssh/id_rsa
scp ~/.ssh/id_rsa.pub user@host:/home/user/.ssh/
ssh user@host
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys