Moin!While attempting to configure a system-wide http_proxy environment variable, I encountered a bug (?) in sshd. When setenv is configured in login.conf, sshd does not properly set it in the user's environment when logging in via ssh.
This was reported back in 2012: https://marc.info/?l=openbsd-misc&m=135527081125704&w=2
Is there any reason sshd should not respect login.conf's setenv? --Huhn