Determining Local IP Address within .profile

Dan Kaminsky
Wed, 04 Sep 2002 13:45:53 -0000

Mario--

bash-2.05a# set | grep SSH
SSH_CLIENT='10.0.1.37 3985 22'
SSH_TTY=/dev/ttyp2

Don't use IP's for security though, particularly within LAN/VLAN
boundries.  Far better to switch on user or user key, at least in terms
of security.

--Dan