Re: problems regarding "This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin"

From: Dimitri Maziuk (dima_at_127.0.0.1)
Date: 08/26/05

  • Next message: Dave: "Another ssh problem - it looks up after a couple of minutes."
    Date: Fri, 26 Aug 2005 16:05:37 +0000 (UTC)
    
    

    Richard E. Silverman sez:
    >
    ...
    > You haven't said anything about the OS or SSH software you're using.
    > Assuming OpenSSH and a typical Linux distribution, you could:

    [ snip ]

    If, OTOH, you're using a recent Solaris,
    'echo $PATH > ~/.ssh/environment'
    -- on Solaris initial PATH is set in /etc/default/login and AFAIK
    the only way to keep it is to "UseLogin yes", which, conveniently,
    turns off X forwarding.

    Dima

    -- 
    Backwards compatibility is either a pun or an oxymoron.                  -- PGN
    

  • Next message: Dave: "Another ssh problem - it looks up after a couple of minutes."