In /etc/ssh/sshd_config, there is an option called AcceptEnv that allows the ssh client to send environment variables. I need to be able to send a large number of environment variables,
how can i do this?
Linux – How configure environment variable with AcceptEnv
environment-variableslinuxssh
Related Topic
- Linux – Check Environment Variables of a Running Process on Unix
- Ubuntu – Environment variables over non-interactive SSH connection
- Linux – How to Automatically Add New Host to known_hosts
- Linux – SSH – set env vairables by every connection – godaddy shared host
- AcceptEnv * Insecurity – Why It’s Considered Unsafe
- Ssh – OpenSSH client sends environment variable it should not
- Linux – ssh configuration file environment variable
Best Answer
You can specify multiple environment variables on one line with
AcceptEnv
, and you can even give the option multiple times if you want.For example:
The man page also stated this: