存放位置:
当前用户下的.ssh(win、linux一样)
多个密钥管理:
1.为各私钥文件命名
如:gitlab_rsa
2.在./ssh下添加config文件
[root@anisble-server ywf]# cat /root/.ssh/config
HOST gitlab.nokia.com
IdentityFile ~/.ssh/gitlab_rsa
User git
存放位置:
当前用户下的.ssh(win、linux一样)
多个密钥管理:
1.为各私钥文件命名
如:gitlab_rsa
2.在./ssh下添加config文件
[root@anisble-server ywf]# cat /root/.ssh/config
HOST gitlab.nokia.com
IdentityFile ~/.ssh/gitlab_rsa
User git