Re: SSH Port Forwarding and X11 Question !


now you have to do it

log into your firewall with ssh -X firewall ( the -X is to do a X-forwarding)

after this... do it:

ssh -X solaris

so.. every GUI that you execute in solaris will be forwarded to
firewall, but the there is one more X-forward on firewall that will
redirect the X-session to your box

this worked with me... :)

remember to set up X-forwarding enable on sshd_config

On 11/14/06, Karun <karunanidhis@xxxxxxxxx> wrote:

Hi Guys !
I have the following problem. I need to know if ssh port forwarding can be
done for this.

I have Server A (Solaris)which needs to run a grpahics program.
Server A resides behind a Firewall.
Server B (Solaris) has access to Server A through ssh. There is a Firewall
Rule that was implemented to allow ssh traffic from Server B to Server A.
Both Server A and Server B do not have Graphics monitor attached to it.
I have PC C in which I'm running cygwin (X server). I would like to display
the grpahics program that is invoked on Server A on my PC C. My PC can ssh
(using putty) to Server B as they are in the same network.

Obviously, when I export the display on Server A to my PCs IP address, I'm
getting "Can't open Display" because Server A cannot talk to my PC directly.

Thanks very much for your input.

View this message in context:
Sent from the SSH (Secure Shell) mailing list archive at

Thiago LPS
C.E.S.A.R - Administrador de Sistemas
msn: thiago.lps@xxxxxxxxx
0xx 81 8735 2591

Relevant Pages

  • Re: need help for setting SSH Server for Windows XP
    ... In my windows firewall proper ports are opened. ... Changing from port 22 to ports 80, 443 also doesn't give any results. ... static LAN IP of the server PC. ... It is *NOT* a valid test to call the SSH server PC from another ...
  • Re: ssh security question
    ... Someone is attempting to use a dictionary or brute-force attack against your SSH server. ... Recently - I was away from the office - and enabled port 22 on the firewall - so I could access the centos server remotely. ...
  • Re: Mac OS X Server Security Questions
    ... go to System Prefernces/Sharing to shut off ssh. ... as it is enabled by default on OS X server. ... Mind you, now with your dedicated Firewall in place, it's a moot point ... PermitRootLogin no ...
  • SSH connection thru corporate firewall to home sshd on Port 80
    ... I have a FreeBSD server running sshd listening on port 80 at home. ... I can successfully establish a ssh session from a Winnt/putty:80 box the ... When I take the same Winnt machine behind a corporate firewall which passes ...
  • Re: Change Icon (Alt+TAB)
    ... I want to change the icon you see, ... server (X-Forwarding with SSH). ...