一、生成key
bash
ssh-keygen -t rsa -b 4096 -C "root"

二、将id_rsa内容拷贝到jenkins

公钥id_rsa.pub拷贝到gitlab


一、生成key
ssh-keygen -t rsa -b 4096 -C "root"
二、将id_rsa内容拷贝到jenkins
公钥id_rsa.pub拷贝到gitlab