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