X over SSH authorization, how to make the proxy key permanent for each session
Hey guys,
can't find any related topic for what i need to ask.
If you know how X over SSH works then you know about the proxy key (MIT or XDM) which is generated for each SSH session with X forwarding enabled by SSH client(am i even right?). This coockie is transfered and pasted to remote server Xauthority file and X clients on it are authenticating to proxy X server (created by SSH server) using this coockie.
But what if the X clients are not local? Do i have to paste the proxy key to all machines running X clients each SSH session? And when the session is over then delete it because it is useless when the session is over? Kinda weird huh? Is there any way to make the key permanent? or simplest way is just to create some script which would distribute the key over machines running X clients and then delete it when its over using script again?
PS: Maybe i am wrong how it works. But i want to know the theory before i will mess something up...
|