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!

posted on 2017-05-23 18:22  星空守望者--jkmiao  阅读(150)  评论(0编辑  收藏  举报