scp with openssh on the server side and $PATH.

Marc Haber Marc.Haber-lists at
Mon Dec 27 00:59:08 EST 1999

On Sat, 25 Dec 1999 14:43:58 GMT, you 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.

In the mean time, I found out that this path comes from
/usr/include/paths.h which is included from config.h (thanks to Jim
Knoble for pointing that out in his Alert article.

I will try later today if preventing that include from happening will
solve the problem.


-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29

More information about the openssh-unix-dev mailing list