打包机替换.ssh/gitlab_id_rsa即可
/home/publish/.ssh/gitlab_id_rsa
cat /home/publish/.ssh/config
Host gitlab.xxx.com
IdentityFile ~/.ssh/gitlab_id_rsa
HostName gitlab.xxx.com
Port 3333
Host gitlabcloud.xxx.com
HostName gitlabcloud.xxx.com
Port 3333
打包机替换.ssh/gitlab_id_rsa即可
/home/publish/.ssh/gitlab_id_rsa
cat /home/publish/.ssh/config
Host gitlab.xxx.com
IdentityFile ~/.ssh/gitlab_id_rsa
HostName gitlab.xxx.com
Port 3333
Host gitlabcloud.xxx.com
HostName gitlabcloud.xxx.com
Port 3333