sshd:
~/.ssh/environment client连接进来时, 会有此环境变量, sshd必须设置PermitUserEnvironment yes, 默认no
client发送本地session的环境变量至sshd
/etc/ssh/sshd_config
/etc/ssh/ssh_config
命令
ssh -o SendEnv=Var veer2
ssh命令
ssh machine VAR=hello env
标签:sshd,environment,etc,client,SSH,config,ssh From: https://www.cnblogs.com/dissipate/p/16737532.html