Quantcast
Channel: Tell git which private key to use for a user without home folder - Super User
Browsing all 2 articles
Browse latest View live

Answer by Paul for Tell git which private key to use for a user without home...

The environment variable GIT_SSH tells git what ssh exectutable to use. So you could create a script something like:#!/bin/bash/usr/bin/ssh -i /path/to/identity.file "$@"Then chmod it executable, and...

View Article



Tell git which private key to use for a user without home folder

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...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images