Summary: | inherit the locale or charmap passed through ssh | ||
---|---|---|---|
Product: | Branch 4.1 | Reporter: | Ivan Zakharyaschev <imz> |
Component: | setup | Assignee: | Dmitry V. Levin <ldv> |
Status: | CLOSED DUPLICATE | QA Contact: | qa-4.1 <qa-4.1> |
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | unspecified | ||
Hardware: | all | ||
OS: | Linux |
Description
Ivan Zakharyaschev
2009-11-05 17:08:34 MSK
(In reply to comment #0) > setup-2.2.11-alt1 > openssh-server-5.0p1-alt3 > > When logging in via ssh from an environment with a different locale (the > difference in charmap is important), the remote messages become unreadable, > because of charmap mismatch. [...] > [ivan@dell ~]$ ssh -v linux.local -l imz > OpenSSH_5.0p1, OpenSSL 0.9.8d 28 Sep 2006 [...] > debug1: Remote protocol version 2.0, remote software version OpenSSH_5.0 [...] > debug1: Sending env LC_MESSAGES = POSIX > debug1: Sending env LANG = ru_RU.KOI8-R > Last login: Tue Nov 3 12:24:32 2009 from localhost > [imz@localhost ~]$ date > п╖я┌п╡ п²п╬я▐ 5 13:36:38 UTC 2009 > [imz@localhost ~]$ locale > LANG=ru_RU.UTF-8 [...] > LC_MESSAGES=POSIX LC_MESSAGES had successfully forwarded but LANG hadn't. It looks like a local misconfiguration on the remote side. Please check remote ~/.i18n and /etc/sysconfig/i18n files, I bet one of them redefines LANG. |