jenkinsci / jenkinsci/ssh-credentials-plugin
[JENKINS-58213] Jenkins Slave Can't reach Gitlab, but Server can
- Dominant language
- Java
- Stars
- 25
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
I have the correct id_rsa key under my Jenkins user's .ssh folder, and when I log onto the box and run a git clone command, it works fine. However, whenever that slave does a build and tries the exact same git clone command from the same repo, I just get "Permission denied (public key)."
There's no passphrase on the key, it has the correct permissions, etc. Not sure what's going on...
---
Originally reported by mcarter94, imported from: Jenkins Slave Can't reach Gitlab, but Server can
jvz
Raw content of original issue
I have the correct id_rsa key under my Jenkins user's .ssh folder, and when I log onto the box and run a git clone command, it works fine. However, whenever that slave does a build and tries the exact same git clone command from the same repo, I just get "Permission denied (public key)."
There's no passphrase on the key, it has the correct permissions, etc. Not sure what's going on...
Contributor guide
Assessment
This issue has not been assessed yet.