一、生成密钥命令行执行ssh-keygen二、查看密钥window 默认地址: "C:\Users\Administrator.ssh\id_rsa.pub”Mac 默认地址(可以通过open命令直接打开): /Users/xz/.ssh/id_rsa.pub三、添加密钥gitlab,github 密钥添加页面地址:https://gitlab.xxxxxx.cn/prof...https://github.com/settings/keys