Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Imagine I have a box (A) and ssh access to it and want to run a programm and forward its x11 output to xMing. That works just fine with putty.

Now things get more complicated. There is another box (B) that I don't have direct ssh access to but I can ssh from box A.

So I ssh to box A with putty and from that box A ssh to box B. How do I run my programm on box B and get X11 forwarded to me?

share|improve this question
up vote 1 down vote accepted

when ssh from A to B, use option -X or -Y

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.