redmine_git_mirror
redmine_git_mirror copied to clipboard
Add ssh key
Hello
Could be nice to add an option to define a ssh key by repository.
Thanks a lot
You should be using the system wide ssh key. There is no added value in having different private keys for each repository. The private key identifies your redmine as a whole. If you really need different keys for repositories, the only way is to have a .ssh/config
Hello
git provide core.sshcommand to define repo by repo any ssh configuration as key.
[core]
sshcommand = /usr/bin/ssh -i /var/www/repo/.ssh/id_rsa
https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresshCommand