首页 > 代码库 > ssh 免密码登录linux

ssh 免密码登录linux

就两步,take it easy!

step1. 在A-PC生成公钥和密钥对

ssh-keygen -t rsa

step2. 将A-PC公钥上传至B-PC

ssh-copy-id abby@192.168.0.xxx

 

now, enjoy yourself and have a good job!

ssh 免密码登录linux