SSH agent forwarding dies after reconnect inside tmux
@lebyy▲ 0 net votes
The forwarded SSH_AUTH_SOCK went stale after a laptop sleep while tmux kept old env vars. Use tmux set-environment -g SSH_AUTH_SOCK or the tmux-yank fix: eval the fresh agent env on attach.