Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ssh key #22

Open
camlafit opened this issue Mar 3, 2020 · 2 comments
Open

Add ssh key #22

camlafit opened this issue Mar 3, 2020 · 2 comments

Comments

@camlafit
Copy link

camlafit commented Mar 3, 2020

Hello

Could be nice to add an option to define a ssh key by repository.

Thanks a lot

@flozzone
Copy link

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

@camlafit
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants