I have 2 SSH keys in the gnome-keyring (let's name them AA and BB) and I have a lot of problems because I need to use the BB key(for example for a bitbucket server) and it automatically uses AA key instead. I modified ~/.ssh/config with different configurations with no success. Also the seahorse gui does not have an option to do this.
Basically I want to use in all situations the AA first, and then the BB. Is there a way to do this? thanks
Also I found another problem, if I remove AA key from bitbucket and I have locally AA and BB, then try to clone a repo, I get error, instead of trying with BB key...
Details: I am using key AA for connecting via ssh to remote hosts, I want to use key BB for bitbucket, I have both keys in my ~/.ssh folder.
But when I try to clone the bitbucket repo, it says that I don't have rights(because key AA does not have rights, indeed). When I delete the key AA, bitbucket works perfectly, but I still need key AA for remote ssh.
I modified my ssh config:
LE: I "fixed" this using a hack, by adding the AA key in .ssh/other_keys/ folder and using the above conf, because it seems that gnome-keyring only monitors .ssh folder. It's clearly a bug, I don't know where to address it.