I agree. I've programmed around this with the following at the start
of my .base_profile
# have ssh client info survive with different name,
# since bash has an elaborate kludge around SSH_CLIENT
# is uses is to trigger running .bashrc, then unexports it so subsequent
# shell invokation don't run .bashrc again
[ -n "$SSH_CLIENT" ] && export SSH_CLIENT_ORIG="$SSH_CLIENT"
[ -n "$SSH2_CLIENT" ] && export SSH_CLIENT_ORIG="$SSH2_CLIENT"
--
Marc Auslander <marc@watson.ibm.com> 914 945-4346 (Tieline 862 Fax x4425)