bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SSH_CLIENT not passed through


From: swatt
Subject: SSH_CLIENT not passed through
Date: Tue, 18 Sep 2001 16:32:33 -0700 (PDT)

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd4.3
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='freebsd4.3' -DCONF_MACHTYPE='i386--freebsd4.3' -DCONF_VENDOR='' 
-DSHELL  -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib -I/usr/local/include -O 
-pipe -g -march=pentiumpro
uname output: FreeBSD oberon.Teja.COM 4.3-STABLE FreeBSD 4.3-STABLE #8: Sat Jul 
28 13:05:16 PDT 2001     root@oberon.Teja.COM:/obj/usr/src/sys/OBERON  i386
Machine Type: i386--freebsd4.3

Bash Version: 2.05
Patch Level: 0
Release Status: release

Description:
        The SSH_CLIENT environment variable is not propagated to children

Repeat-By:
    chsh /bin/bash # if you're not already using it
        ssh localhost
        printenv | grep SSH_

Fix:
        Remove the code that unsets the exported attribute for SSH_CLIENT
        and SSH2_CLIENT in variables.c.  Or document why you feel it's
        appropriate to suppress them (and not SSH_TTY) in the inherited
        environment.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]