> What about "tmux show -g update-environment" and "tmux show update-
> environment"? Is SSH_AUTH_SOCK correctly removed?
>
> If you do something like this:
>
> tmux set remain-on-exit on
> tmux splitw -- env --
>
> What do you see in SSH_AUTH_SOCK? This will show whether tmux is setting
> it incorrectly or the shell is changing it.
>
>
>
>
> On Tue, 3 Feb 2026 at 11:24, 'Tobias Damisch' via tmux-users <tmux-
>
us...@googlegroups.com <mailto:
tmux-...@googlegroups.com>> wrote:
>
> Inside tmux:
>
> > tmux showenv -g SSH_AUTH_SOCK
> SSH_AUTH_SOCK=/home/user/.ssh/ssh_auth_sock
> > echo $SSH_AUTH_SOCK
> /tmp/ssh-E0rzE8HFKj/agent.4108400
> > tmux showenv SSH_AUTH_SOCK
> SSH_AUTH_SOCK=/tmp/ssh-E0rzE8HFKj/agent.4108400
>
> So, it seems the global environment is somehow overwritten.
> No time for tmux logs now, will check later if necessary.
>
> --
> You received this message because you are subscribed to the Google
> Groups "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
tmux-users+...@googlegroups.com