RHEL8: LANG variable ignored by tcsh when sent by ssh client

Solution Verified - Updated -

Issue

On RHEL8 openssh default settings, "AcceptEnv LANG" is configured on server side, and "SendEnv LANG" is configured on client side. In that case, I expect to see the same LANG variable after login to the server's account.

But if I use tcsh as login shell, different environment variable is set. If I switch to other login shells such as bash, ksh and zsh, system set LANG which was sent by ssh client.

Environment

  • Red Hat Enterprise Linux (RHEL) 8
  • tcsh
  • SSH

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content