Então parece que o encaminhamento ssh é o problema?
Tmux captures the environment at initiation. If you are on your desktop with
SSH_AUTH_SOCK
pointing to A, then you disconnect (C-a,d). Now you SSH to your desktop, theSSH_AUTH_SOCK
in this environment will be some value B, you reattach, and you haveSSH_AUTH_SOCK
still pointing to A.