Differences between revisions 4 and 5
Revision 4 as of 2018-10-30 08:41:01
Size: 1171
Editor: stroth
Comment:
Revision 5 as of 2020-09-08 13:25:19
Size: 1392
Editor: stroth
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#rev 2020-09-08 stroth
Line 3: Line 4:
= SSH connections from Mac start with errors similar to "locale name not valid" = = Locale settings forwarded with SSH connections on Macs =
As a default setting, the [[https://wiki.debian.org/Locale|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:
Line 5: Line 7:
Please check the properties of your Terminal. Uncheck "Set locale environment variables on startup"

{{attachment:locale_error.png}}

== Example of the error message: ==
{{{
Line 35: Line 33:
}}}

To change this behaviour uncheck "Set locale environment variables on startup" as shown in the screenshot below:
{{attachment:locale_error.png}}

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)