Subject: Re: determining originating IP address of current rsh session
To: None <netbsd-users@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-users
Date: 03/18/2000 18:49:22
In article <14547.49464.389974.461760@idris.laine.org>,
	lainestump@rcn.com (Laine Stump) writes:
> There must be a simple way to do this, and I'm just suffering from brain
> rot...

Yes, use "ssh" which offers much more security anyway:

tron@lyssa:~>host `hostname`
lyssa.zhadum.de has address 194.123.44.242
tron@lyssa:~>ssh colwyn.zhadum.de 'echo $SSH_CLIENT'
194.123.44.242 1021 22

	Kind regards

-- 
Matthias Scheler                            http://www.sighardstrasse.de/~tron/