as a temporary workaround, you can do sudo -u $SAMEUSER -c - -i in,
e.g., ~/.profile at the logged-in machine

that way you don't duplicate env settings in ssh_config proper

On Tue, Dec 11, 2012 at 6:14 AM, Martijn van Duren <m.vandu...@jonker.nl> wrote:
> Dear misc,
>
> I'm a new to OpenBSD and BSD in general.
>
> On my new install I found that it is possible to set environment
> variables via the login.conf file. When trying I found out that those
> variables aren't honored if I log in via ssh. Setting the variables via
> setusercontext in a test-application and via the login command does
> work.
>
> Am I somehow missing a setting in sshd_config that ignores these
> settings or do I need to report this as a bug?
>
> Sincerely,
>
> Martijn van Duren

Reply via email to