1、生成ssh密钥和公钥
id_ras 密钥:填写到jenkins配置里面
id_rsa.pub 公钥:填写到git账户上面

2、如果提示 stderr: No RSA host key is known for [xxx.com]:7999 and you have requested strict checking.
![No RSA host key is known for [xxx.com]:7999 and you have requested strict checkin](https://cdn.badianboke.com/uploads/20240711/fc6097fb8d55d4f2aa815885942d586b.png?watermark/2/text/5YWr54K55Y2a5a6iIGJhZGlhbmJva2UuY29t/fontsize/800/fill/I0ZGRkZGRg==)
把校验关掉
1、生成ssh密钥和公钥
id_ras 密钥:填写到jenkins配置里面
id_rsa.pub 公钥:填写到git账户上面

2、如果提示 stderr: No RSA host key is known for [xxx.com]:7999 and you have requested strict checking.
![No RSA host key is known for [xxx.com]:7999 and you have requested strict checkin](https://cdn.badianboke.com/uploads/20240711/fc6097fb8d55d4f2aa815885942d586b.png?watermark/2/text/5YWr54K55Y2a5a6iIGJhZGlhbmJva2UuY29t/fontsize/800/fill/I0ZGRkZGRg==)
把校验关掉