79318947

Date: 2024-12-31 01:06:19
Score: 1
Natty:
Report link

I had this exact issue on my linux PC with zsh. Adding the following into ~/.zshrc resolved the issue:

export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"

if ! pgrep -u "$USER" ssh-agent > /dev/null; then
    eval "$(ssh-agent -s)"
fi

ssh-add -q ~/.ssh/id_personal
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AwkwardMonologue