摘要: 分别使用多账号生成不同平台认证密钥 这里生成了 id_rsa 对应阿里code xxxx@126 对应gitee yyyy@126 对应github 生成秘钥对并指定秘钥对名称: ssh-keygen -t rsa ssh-keygen -t rsa -f other -C "[email protected] 阅读全文
posted @ 2021-04-12 21:35 希希大队长 阅读(85) 评论(0) 推荐(0)
摘要: scp -p ~/.ssh/id_rsa.pub <用户名>@<ip>:/root/.ssh/authorized_keys # 例: scp -p ~/.ssh/id_rsa.pub [email protected]:/root/.ssh/authorized_keys 阅读全文
posted @ 2021-04-12 21:24 希希大队长 阅读(68) 评论(0) 推荐(0)