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.
Post History
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 enviro...
#2: Post edited
Mac SSH sends environment variables by default
- Mac SSH sends some environment variables by default
- 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 why leave the documentation with its original text?)- ```
- Host *
- SendEnv LANG LC_*
- ```
- 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_*
- ```
#1: Initial revision
Mac SSH sends environment variables by default
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 why leave the documentation with its original text?) ``` Host * SendEnv LANG LC_* ```