5月 6, 2023 -
gitlab的CICD, Linux, php开发, 开发笔记
gitlab的cicd使用scp报错已关闭评论


gitlab的cicd使用scp报错
gitlab的gitlab-runner安装到了node1上,像通过node1直接scp文件到目标服务器的node2上.
通过gitlab的CICD进行scp时一直有key的认证失败.
确认已经在node2上已经添加了node1的~/.ssh/id_rsa.pub.手动scp或执行ssh roo[……]