I'm trying to configure ssh to manage my keys, however, I can't make the ssh-agent to remember my keys after opening a new terminal tab. I've seen other post asking the same question but without an answer (that posts was closed, so I'm starting a new one).
I've checked the following solutions and non of them are working:
AddKeysToAgent yesto ~.ssh/config [X]
if ! pgrep -u "$USER" ssh-agent > /dev/null; then ssh-agent > ~/.ssh-agent-thing fi if [[ "$SSH_AGENT_PID" == "" ]]; then eval "$(<~/.ssh-agent-thing)" fito ~.bashrc [X]
- Use systemd/user [X]
This is a mayor issue, specially if you use multiple identities. I would appreciate any help on this. Thanks