On Oct 11 10:38:04, be...@kroenchenstadt.de 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.
Are you in fact ssh-connected to the machine you are running this on? That is, are you running this in the sshd-spawned shell?