Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 11:17:05 -0500
From:      "Patrick Bihan-Faou" <patrick@netzuno.com>
To:        <chet@po.CWRU.Edu>
Cc:        <freebsd-hackers@freebsd.org>
Subject:   RE: Bash2 removes SSH_CLIENT from the environment
Message-ID:  <HJEEKLMFLKEOKHOKNPBMKEJJCJAA.patrick@netzuno.com>
In-Reply-To: <1010130154626.AA70376.SM@nike.INS.CWRU.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help

> > Also the content of SSH_CLIENT may be of intereset (namely the
> remote IP)
> > and I don't know how to retrieve that information after
> SSH_CLIENT has been
> > clobbered.
>
> What do you mean?  The variable is still there, it's just not
> exported.  If
> you want to export it, do so.


How do I access it then ??? In my script I try to look at the content of
$SSH_CLIENT and it is ALWAYS empty (if I use /bin/sh as the login shell,
everything is fine).

I may be missing a couple of things as I am not a shell guru...


Patrick.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HJEEKLMFLKEOKHOKNPBMKEJJCJAA.patrick>