Determining Local IP Address within .profile

Dan Kaminsky dan at doxpara.com
Wed Sep 4 23:45:53 EST 2002


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






More information about the openssh-unix-dev mailing list