SSH puts . in $PATH

From: Kenn Humborg (kennat_private)
Date: Mon Feb 08 1999 - 11:16:49 PST

  • Next message: Greg A. Woods: "Re: SSH 1.x and 2.x Daemon"

    Under Red Hat Linux 4.2 with ssh-1.2.26-1i.libc5 installed
    (from ftp://ftp.replay.com/pub/replay/pub/redhat):
    
    $ telnet localhost
    [...snip...]
    Last login: Mon Feb  8 18:09:25 from beowulf.bluetree
    You have new mail.
    $ echo $PATH
    /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/kenn/bin:/sbin:/usr/sbin
    
    $ ssh localhost
    Enter passphrase for RSA key 'kennat_private':
    Last login: Mon Feb  8 19:12:21 1999 from localhost
    You have new mail.
    $ echo $PATH
    /usr/local/bin:/usr/bin:/bin:.:/usr/bin:/usr/X11R6/bin:/home/kenn/bin:/sbin:/usr/sbin
    
    sshd seems to be adding '.' to the PATH.  I really don't like this...
    
    Can anyone else reproduce this?  Or is it something broken at my
    site?
    
    Thanks,
    Kenn
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:33:34 PDT