LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-20-2012, 09:27 AM   #1
Mikoman
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Rep: Reputation: 0
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...
 
Old 04-21-2012, 04:38 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,460

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
You are overthinking this. You do not have to worry about the session cookies when using X forwarding over SSH.
 
Old 04-23-2012, 01:48 AM   #3
Mikoman
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Allend. Thanks for reply. I don't have to worry about coockies when i'm running local clients only. But what if i would like to run network clients? How to give them the right coockie?
 
  


Reply

Tags
authorization, ssh, x11


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make commands keep running after leaving a terminal session or ssh session Danny3031 Programming 18 01-30-2012 11:29 AM
Limit ssh session from a host with a particular Key file hemanshurpatel Linux - Security 13 07-24-2009 02:36 AM
Permanent SSH session (like VNC, but text) sylvaticus Linux - Networking 3 09-17-2008 10:22 AM
How do I automatically make a ssh key? cereal83 Linux - Security 11 09-20-2005 02:16 PM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration