💻 Software
Tell git which private key to use for a user without home folder
Fresh5 days ago
Mar 15, 20266870 viewsConfidence Score0%
0%
Problem
I was reading the question Tell git which private key to use, and the answer doesn't apply for a case were the user doesn't have any home directory. We're setting up a Jenkins server right now, and the user who run Jenkins doesn't have any home folder. But that particular user must access a GIT rep…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Tell git which private key to use for a user without home folder
Low Risk
The environment variable GIT_SSH tells git what ssh exectutable to use. So you could create a script something like: Then chmod it executable, and set GIT_SSH=/path/to/sshscript
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix