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
Preferences should allow me to disable environment variable transmission to the remote host when connecting with ssh.
A better solution could be to "translate" macos local names to the remote host locale names.
Is your feature request related to a problem? Please describe.
Each time I connect to a linux host from my Mac, I get a warning :`setlocale : LC_CTYPE : impossible de changer le paramètre de langue (UTF-8) : Aucun fichier ou dossier de ce type`
This happens using ssh or /usr/bin/ssh
This is a well known "feature" of ssh who sends the environment variable LANG and LC_* from macos to linux and sets LC_CTYPE to UTF-8 which is unknown on linux.
Usual workaround in Terminal.app and iTerm2 includes disabling the environment variable transmission in preferences and setting the locale in the remote .bashrc or rely on the default configuration.
Describe the solution you'd like?
Is your feature request related to a problem? Please describe.
Additional context
An example of workaround site : https://en.stealthsettings.com/fix-macos-terminal-error-warning-setlocale-lc_ctype-change-locale-utf-8-file-directory.html
Most solutions are somehow based on disabling SendEnv on ssh_config level (requires root superpowers) or setting the prefs in Terminal.app or iTerm2
The text was updated successfully, but these errors were encountered: