Locale settings forwarded with SSH connections on Macs

As a default setting, the locale settings are forwarded by the default terminal application called Terminal.app on macOS. This may result in error messages similar to the following after login:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

* This account expires in 169 days.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

All The News That's New  --  7572

* No new messages
* Type "atntn --old" to review previous messages
* For other helpful informations check http://computing.ee.ethz.ch/
* System Status Information: http://computing.ee.ethz.ch/Status

To change this behaviour uncheck "Set locale environment variables on startup" as shown in the screenshot below:

locale_error.png


CategoryEDUC

FAQ/MacSshTerminalConfig (last edited 2021-05-05 06:12:41 by bonaccos)