You are not logged in.

#1 2011-02-22 22:01:14

sandstorm
Member
From: Zurich [CH] & Mannheim [DE]
Registered: 2005-08-13
Posts: 169

Execution of ssh -Y

Just a short question: is it correct that ssh -Y is just executing the program on my local machine? So when I want to save a file of this program it is saved locally?

Best regards
Martin

Offline

#2 2011-02-22 22:23:06

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Execution of ssh -Y

No, its executing on the remote machine, only its display is on your machine

Offline

#3 2011-02-22 22:51:31

sandstorm
Member
From: Zurich [CH] & Mannheim [DE]
Registered: 2005-08-13
Posts: 169

Re: Execution of ssh -Y

For example, when I start Firefox, the bookmarks from my local machine are shown. Or is this happening because I have running Firefox on my local machine in addition and it gets mixed up?

Offline

#4 2011-02-23 00:18:24

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Execution of ssh -Y

Firefox is special. It will check if any other firefox instance is attached to the same display (or something like this, I don't know quite hot it works), and if so, tell that one to open a new window instead of starting up a new firefox. To disable this checking, and really run firefox on the remote server even if you have one running locally, use the "-no-remote" flag to firefox.

Offline

#5 2011-02-23 13:38:53

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Execution of ssh -Y

I thought 'ssh' was secure / encrypted by default. Isn't that why SSH is preferred over Telnet due to it being more secure? I don't understand the -X or -Y switches. Seem redundant to me, no?


./

Offline

#6 2011-02-23 16:57:37

sandstorm
Member
From: Zurich [CH] & Mannheim [DE]
Registered: 2005-08-13
Posts: 169

Re: Execution of ssh -Y

Hehe. It is not about encryption but about trusting. man ssh on -Y: "Enables trusted X11 forwarding.  Trusted X11 forwardings are not subjected to the X11 SECURITY extension controls."


ataraxia wrote:

Firefox is special. It will check if any other firefox instance is attached to the same display (or something like this, I don't know quite hot it works), and if so, tell that one to open a new window instead of starting up a new firefox. To disable this checking, and really run firefox on the remote server even if you have one running locally, use the "-no-remote" flag to firefox.

I will check this. I already added a hint in the Wiki: https://wiki.archlinux.org/index.php/SSH#X11_Forwarding

Best regards
Martin

Offline

Board footer

Powered by FluxBB