If you use SSH keys and you have to enter the password every time to unlock them, you surely have already tried to set up a keyring. However, it is not always very clear how to do it as they are several ways of doing it.
Yes, you see it well, it didn't asked for my password!
I recommend you to follow the part telling how to "Start ssh-agent with systemd user" in the Arch Linux wiki (I copied it below): https://wiki.archlinux.org/index.php/SSH_keys#SSH_agents
It is possible to use the systemd/User facilities to start the agent.
~/.config/systemd/user/ssh-agent.service [Unit] Description=SSH key agent [Service] Type=forking Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK [Install] WantedBy=_default_.target
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"to your shell's startup file, for example
.bash_profilefor Bash. Then enable or start the service._
If it is still not sufficient as it happened to me, replace the _
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"_ in the shell's startup
file the Wiki talked about by the output of
implies that you have installed gnome-keyring before)
In my case, it looks like this:
And finally, if after a reboot it still doesn't work, try by adding the path
to your SSH keys in
IdentityFile ~/.ssh/gitHubKey IdentityFile ~/.ssh/id_rsa_buhlServer
(Thanks to daminetreg's
comment on StackOverflow)
I hope it will help you! Please let me know if it solved your issue or not.