当前位置: 首页 > Linux

云服务器之间ssh免密码登录

时间:2023-04-06 23:46:59 Linux

1.获取公钥和私钥ssh-keygen并一路回车2.使用ssh-copy-id将公钥复制到远程机器ssh-copy-id-i.ssh/id_rsa.pubusername@192.168。x.xxx