[Patch] Add SSH_CLIENT environment variable

Jamie Lokier jamie at shareable.org
Tue Oct 21 23:41:54 WST 2014


Matt Johnston wrote:
> Thanks, I've merged it with some small changes.
> 
> I keep being surprised bash doesn't have separate
> interactive/non-interactive config files, like .zshrc vs
> .zshenv

It does, if you pass BASH_ENV in the environment.  BASH_ENV gives the
name of a config file to run only when bash is non-interactive, so you
to match that zsh behaviour, you might set BASH_ENV=$HOME/.bashenv.

-- Jamie


More information about the Dropbear mailing list