bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSH_CLIENT auto-export!!!!


From: Marc Auslander
Subject: Re: SSH_CLIENT auto-export!!!!
Date: 18 Jan 2002 13:11:27 -0500

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]