fix: remove SetEnv TERM=xterm-256color from ssh/config Host *#55
Closed
stanfish06 wants to merge 1 commit into
Closed
fix: remove SetEnv TERM=xterm-256color from ssh/config Host *#55stanfish06 wants to merge 1 commit into
stanfish06 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #54\n\n## Problem\n\nCommit
af605023("fix ssh term") re-addedSetEnv TERM=xterm-256colortoHost *on the same branch as PR #50, undoing the intentional removal in57482bc. PR #53 (Copilot draft) attempted to remove it again but was closed without merging.\n\n## Why it must go\n\n- Conflicts with tmux-256color — inside tmuxTERMistmux-256color(PRs #16 #22 #34 #48). Forcingxterm-256colorover SSH overwrites this on the remote side, breaking true-color in neovim.\n- Silently no-ops on HPC — greatlakes/bridges2 do not setAcceptEnv TERMinsshd_config, so the directive is already ignored there.\n- Was intentionally deleted —57482bcin PR #50 removed this exact line.\n\n## Change\n\nOne-line deletion fromHost *inssh/config:\n\ndiff\n Host *\n ControlMaster auto\n- SetEnv TERM=xterm-256color\n ControlPath ~/.ssh/controlmasters/%r@%h:%p\n ControlPersist 1800\n Compression yes\n TCPKeepAlive yes\n ServerAliveInterval 20\n ServerAliveCountMax 10\n\n\n## Test plan\n- [ ]grep SetEnv ssh/config— no matches\n- [ ] SSH to any host — TERM inherits from the local terminal as expectedGenerated by Claude Code