Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Brian Pence
July 2, 2003, 8:43 pm
rate this thread
answer. Whenever you SSH to a box with X Forwarding enabled, a cookie
is stored in your .Xauthority file or some other file pointed to by the
XAUTHORITY environment variable. When you ssh to another
box (or even SU to another user on the same box), you will NOT be able
to use the X Forwading unless you bring your cookie along with you.
As an example, on my RedHat box, when I 'su' to root from
my user account, RedHat will copy my .Xauthority file to a unique file
in root's home directory and point the XAUTHORITY variable
at it. In this manner, I can continue to use X forwarding even when
I su to a different user.
The issue when using ssh to hop boxes will be the same.
Author - AbsoluteTelnet Telnet/SSH client
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum