两行命令让你免密码登录服务器

2018-03-30  本文已影响0人  leo_xl

一、生成rsa文件

ssh-keygen -t rsa

二、自动copy到服务器指定目录

ssh-copy-id root@xxx.xx.xx.xx

上一篇下一篇

猜你喜欢

热点阅读