Run a GUI app on remote computer from SSH through a third server in between

0

Possible Duplicate:
Basic ssh tunneling through generic linux ssh server/client

Recalling this question: Run a GUI app on remote computer from SSH I add more complexity asking if: It is possible to Run a GUI app on remote computer from SSH passing by another computer, again through SSH ?

For instance, I want to replicate something like that: http://www.cyberciti.biz/tips/linux-mac-osx-x11-forwarding-over-ssh-howto.html but the scenario is:

My Laptop -> ssh usrA@Server_A -> ssh usrB@Server B

I don't have yet the access in order to try this, but I've been asked to advise if I know a method of doing that

(maybe ssh -X Server_A and then ssh -X Server_B ?)

Murko

Posted 2012-07-26T08:30:17.400

Reputation: 225

Question was closed 2012-07-26T13:52:20.467

Answers

0

First run:

ssh -Y usrA@srvA 

and then:

ssh -Y usrB@srvB 

Your display will be forwarded correctly to your laptop.

Didier

Posted 2012-07-26T08:30:17.400

Reputation: 789

thank you! I tested it with my laptop and 2 ubuntu virtual machines and it works smoothly! – Murko – 2012-07-28T08:00:37.270

0

I would say YES.

TO do this you should create an ssh tunnel on the Server_A.

How to do this:

http://www.revsys.com/writings/quicktips/ssh-tunnel.html

mnmnc

Posted 2012-07-26T08:30:17.400

Reputation: 3 637

No, not this way. – Ignacio Vazquez-Abrams – 2012-07-26T09:34:10.487