image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #9  
Old March 7th, 2006, 04:51 PM
Frank Sainsbury
 
Join Date: Mar 2006
Location: Kingston, Tasmania
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
fsainsbu is on a distinguished road
oops, this is from os x 10.4 to fedora core .
well :
2 was option ssh -X
and that gives an xdisplay but not openGL support

option 4:
ssh -Y cor
frank@cor's password:
#check gecg.000251
works Yay!, and thanks.
Reply With Quote
  #10  
Old March 7th, 2006, 06:02 PM
Frank Sainsbury
 
Join Date: Mar 2006
Location: Kingston, Tasmania
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
fsainsbu is on a distinguished road
option 2 was ssh -X, could get an xterm but no openGL support.

option 4:Note from os x 10.4 to linux, Fedora core.
ssh -Y cor
worked ! Thanks,
NB option not in 10.3
Reply With Quote
  #11  
Old March 7th, 2006, 06:20 PM
tomdkat's Avatar
Registered User
 
Join Date: Aug 2005
Posts: 197
Thanks: 6
Thanked 0 Times in 0 Posts
tomdkat is on a distinguished road
Here is info from the OpenSSH man page on ssh:

Quote:
Originally Posted by OpenSSH manpage
-X Enables X11 forwarding. This can also be specified on a per-host
basis in a configuration file.

X11 forwarding should be enabled with caution. Users with the
ability to bypass file permissions on the remote host (for the
user's X authorization database) can access the local X11 display
through the forwarded connection. An attacker may then be able
to perform activities such as keystroke monitoring.

For this reason, X11 forwarding is subjected to X11 SECURITY ex-
tension restrictions by default. Please refer to the ssh -Y op-
tion and the ForwardX11Trusted directive in ssh_config(5) for
more information.


-x Disables X11 forwarding.

-Y Enables trusted X11 forwarding. Trusted X11 forwardings are not
subjected to the X11 SECURITY extension controls.
I wasn't aware of the "-Y" option, until I found this thread. I hope all who use it are aware of the security implications of using it.

Peace...
Reply With Quote
  #12  
Old March 8th, 2006, 11:50 AM
lurk's Avatar
Mitδ?
 
Join Date: Mar 2002
Location: Land o' skeeterz
Posts: 2,076
Thanks: 0
Thanked 0 Times in 0 Posts
lurk is on a distinguished road
Well in practice -Y is the new -X, all it is saying is basically that you trust the admin on the box you are connecting to, that the host itself is trusted. This is certainly nothing like the old issue of things like 'xhost +' and the like. Unless I am missing something, the new -Y is no less secure than the old -X that we have been using up to this point.
Reply With Quote
  #13  
Old March 8th, 2006, 02:03 PM
tomdkat's Avatar
Registered User
 
Join Date: Aug 2005
Posts: 197
Thanks: 6
Thanked 0 Times in 0 Posts
tomdkat is on a distinguished road
Quote:
Originally Posted by lurk
Unless I am missing something, the new -Y is no less secure than the old -X that we have been using up to this point.
The warning given in the -X description is enough for me and something I think should be considered.

I'm not saying don't use -Y but only be aware of the implications of doing so, that's all.

As for using "xhost +", I think that's something I would never do. I always use "xhost +localhost" to make sure no remote connections will be accepted, unless they are permitted by me.

Peace....
Reply With Quote
  #14  
Old March 8th, 2006, 03:19 PM
nixgeek's Avatar
Mac of the SubGenius! :-)
 
Join Date: Jan 2004
Location: Miami, FL
Posts: 7,392
Thanks: 11
Thanked 80 Times in 64 Posts
nixgeek will become famous soon enough
I didn't know about -Y either.....good to know. I knew that X11 forwarding was a little risky but I wasn't too concerned yet, but if using the -Y gives me some added security, I'll use that instead.
__________________
• Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.4.11
• Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
• Apple PowerBook Duo 230 (33 MHz MC68030) - System 7.1
• "JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 12.1
• "Kidbuntu" (2.8 GHz Celeron D 335) - Ubuntu 8.04
Reply With Quote
  #15  
Old March 8th, 2006, 04:41 PM
tomdkat's Avatar
Registered User
 
Join Date: Aug 2005
Posts: 197
Thanks: 6
Thanked 0 Times in 0 Posts
tomdkat is on a distinguished road
Quote:
Originally Posted by nixgeek
but if using the -Y gives me some added security, I'll use that instead.
I think it does the opposite. "-Y" means the remote X clients are trusted so local X security extension restrictions are bypassed. This will be fine if the remote system is known to be trusted, but if "-Y" is being viewed as similar to "xhost +", then I would consider it unsafe, in general.

Anywho, I just wanted to make those using "-Y" aware of the security implications.

Peace...
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
remote networking? joeacast@mac.co Networking & Compatibility 1 February 16th, 2006 04:34 PM
Remote Desktop Newbie3 Networking & Compatibility 1 November 17th, 2005 09:04 PM
Remote Install OSX 10.2.6 Jaggyone Mac OS X System & Mac Software 1 October 20th, 2003 12:56 PM
ati remote wonder heathpitts Hardware & Peripherals 3 May 17th, 2003 05:00 PM
Remote Login? Browni Mac OS X System & Mac Software 3 January 19th, 2003 03:20 PM


All times are GMT -5. The time now is 07:57 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.