nebula-release-plugin
nebula-release-plugin copied to clipboard
Gnome-keyring asking for password for unrelated (?) ssh keys
(I'm on Ubuntu 14.04) I have multiple private keys in my ~/.ssh folder, but also one with the default name (id_rsa). When running ./gradlew prepare, gnome-keyring asks for the password for those SSH keys, while they are irrelevant for the git repository I'm using this plugin for. I deny to pass the passwords for those keys, after which the gradle task fails with:
Problem fetching from remote.
I'm not sure if this is a problem with this plugin or with the grgit plugin?
We've seen problems with multiple keys here too. It seems to be a problem with jsch, but IIRC it should be something we can solve with a custom JschConfigSessionFactory
.
I've been using nebula-release with multiple ssh keys for a while now. I think the difference is that all of my keys are purposely named (e.g. id_rsa_service1 and id_rsa_service2) and configured per HostName. Hope that helps.