SendEnv
Jump to navigation
Jump to search
~/.ssh/config
SendEnv
Specifies what variables from the local environ(7) should
be sent to the server. The server must also support it,
and the server must be configured to accept these
environment variables. Note that the TERM environment
variable is always sent whenever a pseudo-terminal is
requested as it is required by the protocol. Refer to
AcceptEnv in sshd_config(5) for how to configure the
server. Variables are specified by name, which may
contain wildcard characters. Multiple environment
variables may be separated by whitespace or spread across
multiple SendEnv directives.
See “PATTERNS” for more information on patterns.
It is possible to clear previously set SendEnv variable
names by prefixing patterns with -. The default is not to
send any environment variables.
Related[edit]
See also[edit]
/etc/ssh/ssh_config, ~/.ssh/config (man), RemoteCommand, RequestTTY, ServerAliveInterval, UseKeychain, ForwardAgent,ProxyJump, ControlMaster, ControlPath, ControlPersist- Variables: Environment variables,
env,env-cmd,.env/,SHELL,PS1, HOME, $?,PATH,HISTFILE, PWD, LD_LIBRARY_PATH,printenv, getenv, getenv, direnv, AWS cli environmental variables, envsubst,env:, env_file(docker-compose),pyenv, rbenv
Advertising: