scp with openssh on the server side and $PATH.

Ben Taylor bent at
Sun Dec 26 14:55:16 EST 1999

On Sat, 25 Dec 1999, Marc Haber wrote:

> _PATH_STDPATH is set to
> "/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:", but
> executing  "ssh this-host echo \$PATH" yields
> "/usr/bin:/bin:/usr/sbin:/sbin:". I don't have the slightest idea
> where that PATH is pulled from. It neither is the PATH set in the
> server config nor the one set by /etc/profile on the server side.

This path is generated out of the std path from config.h.  Perhaps 
we should add in something into for _STD_PATH to include
the $(bindir) from configure.  I just don't have a clue how this
might happen, as I'm not that good at autoconf.


More information about the openssh-unix-dev mailing list