mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 23:20:46 +00:00
macOS Terminal/iTerm export LC_CTYPE=UTF-8 (a bare value, not a real locale name). The system ssh_config has SendEnv LC_*, so the value leaks to the remote and bash warns "cannot change locale (UTF-8)" on every login. mosh-server sets its own locale separately, so dropping LC_* from the spawned ssh's env is the cleanest fix. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>