Skip to content

Conversation

@fracai
Copy link

@fracai fracai commented Sep 22, 2025

ignore_ssh works great to disable reattaching over SSH, but with a tmux session that's shared between SSH and local sessions, I either never get TouchID support, or it's inappropriately enabled when I don't want it.

This PR enables another option (ignore_env) that disables reattaching if a specific environment variable is enabled (DISABLE_PAM_REATTACH). This provides an on-demand mechanism for disabling reattaching.

DISABLE_PAM_REATTACH=1 sudo whoami

Disables pam_reattach if DISABLE_PAM_REATTACH is set in the environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant