1.获取公钥和私钥ssh-keygen并一路回车2.使用ssh-copy-id将公钥复制到远程机器ssh-copy-id-i.ssh/id_rsa.pubusername@192.168。x.xxx
云服务器之间ssh免密码登录相关文章