scp with openssh on the server side and $PATH.

Marc Haber Marc.Haber-lists at gmx.de
Mon Dec 27 00:58:40 EST 1999


On Sat, 25 Dec 1999 22:55:16 -0500 (EST), you wrote:
>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. 

This is obviously wrong or I am missing something very basic. See
above. I have hacked config.h so that _PATH_STDPATH _includes_
/usr/local/bin, but this doesn't seem to work.

Greetings
Marc

-- 
-------------------------------------- !! 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