Bug 179851 - ssh doesn't pass locale-related environment by default
ssh doesn't pass locale-related environment by default
Product: Fedora
Classification: Fedora
Component: openssh (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
: FutureFeature
Depends On:
Blocks: FC5Target
  Show dependency treegraph
Reported: 2006-02-03 08:34 EST by Dmitry Bolkhovityanov
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: openssh-4.3p1-2
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-06 16:04:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch for /etc/ssh/{ssh,sshd}_config (1018 bytes, patch)
2006-02-03 08:34 EST, Dmitry Bolkhovityanov
no flags Details | Diff

  None (edit)
Description Dmitry Bolkhovityanov 2006-02-03 08:34:33 EST
Description of problem:
Ssh doesn't pass "local" locale-related envvars to remote host, as it should.
This leads to various annoying consequences -- to the minimum, wrong language is
used, or even wrong encoding.
Suppose one is logging from utf8-based host to 8859-* or even KOI8-configured
one -- that remote host outputs 8-bit characters, which present illegal utf8
sequences; the reverse situation is unacceptable too -- when utf8-based host
presents what looks as garbage on, say, KOI8-configured xterm.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Set LANG=en_US.ISO-8859-1 (or just use non-utf8-configured-machine)
2. Ssh to some utf8-configured host.
3. Type "echo $LANG"
Actual results:

Expected results:

Additional info:
In fact, OpenSSH *does* support passing of envvars, locale-related ones should
just be listed in /etc/ssh/{ssh,sshd}_config in "SendEnv" and "AcceptEnv"
directives respectively BY DEFAULT.
Comment 1 Dmitry Bolkhovityanov 2006-02-03 08:34:33 EST
Created attachment 124103 [details]
Patch for /etc/ssh/{ssh,sshd}_config
Comment 2 Tomas Mraz 2006-02-03 09:04:09 EST
Valid enhancement request.

Note You need to log in before you can comment on or make changes to this bug.