nebula-release-plugin icon indicating copy to clipboard operation
nebula-release-plugin copied to clipboard

Gnome-keyring asking for password for unrelated (?) ssh keys

Open jgrgt opened this issue 8 years ago • 2 comments

(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?

jgrgt avatar Apr 22 '16 14:04 jgrgt

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.

DanielThomas avatar Apr 22 '16 17:04 DanielThomas

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.

nadavc avatar Apr 22 '16 17:04 nadavc