Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Mac SSH sends some environment variables by default
+0
−0
Why does the default SSH client behavior for MacOS send LANG
and LC_*
environment variables to the server? If I consult man ssh_config
, it says
SendEnv
[…] The default is not to send any environment variables.
Why would Apple decide to override it? (And if so, why leave the documentation with its original text?)
This snippet is at the bottom of /etc/ssh/ssh_config:
Host *
SendEnv LANG LC_*
0 comment threads