Choose style:

Author Topic: SSH: SendEnv LANG causes issues with remote servers  (Read 239 times)

0 Members and 1 Guest are viewing this topic.

Offline neomorph

  • nOOb
  • *
  • Posts: 4
  • Karma: -2
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
SSH: SendEnv LANG causes issues with remote servers
« on: December 17, 2018, 12:12:59 pm »
/etc/ssh/ssh_config

Line:
SendEnv LANG LC_*

That causes issues with remote servers running Debian 8. TEMP FIX was to simply comment it out.

Something funky is going on with locale settings from installation. Using these exactly same settings on the said Debian 8 systems without a fuss. Doing a simple export LANG="en_US.UTF-8" on remote host solves the issue.

My system locale:

Code: [Select]
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=fi_FI.UTF-8
LC_TIME=fi_FI.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=fi_FI.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=fi_FI.UTF-8
LC_NAME=fi_FI.UTF-8
LC_ADDRESS=fi_FI.UTF-8
LC_TELEPHONE=fi_FI.UTF-8
LC_MEASUREMENT=fi_FI.UTF-8
LC_IDENTIFICATION=fi_FI.UTF-8
LC_ALL=

so my guess is that remote server does not fi_FI.UTF-8 locale installed, yet en_US.UTF-8 should be sent there and that is there.

This also extends to terminal -> ssh remote server irssi not showing UTF-8 characters correctly (debian 8 system)