Am 2012-10-11 10:50, schrieb Paul de Weerd:
On Thu, Oct 11, 2012 at 10:38:04AM +0200, Bernd wrote:
| Hi,
|
| I've got to port some shell scripts which rely on env vars. One
| amongst those is $SSH_CLIENT.
|
| On OpenBSD 5.1 machines, I don't get what I'd assume to get:
|
| # echo $SSH_CLIENT
|
| It returns just a blank line.

This "Works For Me (tm)" on a snapshot I installed yesterday.  I ssh
into my machine and SSH_CLIENT contains the expected value.

Weird. I tested on four amd64 5.1 machines, totally default setups, all the same phenomenon.

| I re-tested this on an older development machine, running OpenBSD 4.6:
|
| # echo $SSH_CLIENT
| 123.45.67.89 34402 22
|
| Is that an intended change in behavior (security related)? I didn't
| find a changelog entry, neither documentation.

Can you confirm your shell initialization isn't clearing this
environment variable ?

Defaults everywhere, as on the machine(s) running earlier releases.

Bernd

Paul 'WEiRD' de Weerd

--
++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to