You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #50 (merged May 11) removed SetEnv TERM=xterm-256color from the Host * catch-all in ssh/config as part of fixing the HPC username leak. However, commit af605023 ("fix ssh term") on the same branch re-added the line before the merge. The net effect is that the setting survived despite the stated goal of PR #50.
PR #53 (Copilot draft) attempted to remove it again but was closed without merging.
Silently ignored on HPC clusters — SetEnv requires AcceptEnv TERM in the remote sshd_config. Most HPC clusters (greatlakes, bridges2) do not permit this, so the directive fails silently and adds noise.
Problem
PR #50 (merged May 11) removed
SetEnv TERM=xterm-256colorfrom theHost *catch-all inssh/configas part of fixing the HPC username leak. However, commitaf605023("fix ssh term") on the same branch re-added the line before the merge. The net effect is that the setting survived despite the stated goal of PR #50.PR #53 (Copilot draft) attempted to remove it again but was closed without merging.
Current
Host *block:Why it's a problem
TERMinside tmux is set totmux-256color(PRs fix: tmux.conf hardcoded path, dead terminal setting, duplicate base-index #16, fix: remove dead xterm-256color settings surviving after PR #16 #22, fix: remove phone number from emacs signature, fix tmux template, fix nushell symlink path #34, fix: add default-terminal tmux-256color to Gentoo .tmux.conf #48). Forcingxterm-256colorover SSH overwrites this for every SSH session, breaking true-color in neovim and other apps on the remote side.SetEnvrequiresAcceptEnv TERMin the remotesshd_config. Most HPC clusters (greatlakes, bridges2) do not permit this, so the directive fails silently and adds noise.57482bcin PR fix: remove HPC usernames and SetEnv TERM from ssh configs (regression from PR #39) #50 explicitly deleted this line.Fix
Remove
SetEnv TERM=xterm-256colorfrom theHost *block inssh/config.