Operating System - HP-UX
1835014 Members
2339 Online
110073 Solutions
New Discussion

Re: OpenSSH X11 Forwarding question

 
SOLVED
Go to solution
OldSchool
Honored Contributor

OpenSSH X11 Forwarding question

Before I go on a wild goose chase, using PuTTY and OpenSSH, should the following work?

1) open exceed on PC.
2) open putty session from PC to server A.
3) run Xsession to bring up X over the ssh connection
4) from a dtterm in the Xsession on server A, open an ssh connection to server B

assuming that X11 forwarding is correctly enabled everywhere, should I be able to run an X app (like xclock) on server B (using the connection made in #4)and have it display on the PC, or is this just wishfull thinking on my part? In other words, will the "X" related stuff forward from B to A, and then from A to the PC?

If it matters, the OS is HP-UX 11.0, and OpenSSH3.1p1. PuTTY is 0.60

I know that a second PuTTY session, direct to server B, will work.

In the past, users (incl. my boss) did an rlogin from one server to another, setting DISPLAY to their PC, and carrying on in X. I'm searching for a method to come close to that mode of operation over a secure connection.

Any suggestions gleefully accepted.....
2 REPLIES 2
Jeff_Traigle
Honored Contributor
Solution

Re: OpenSSH X11 Forwarding question

That will work just fine in my experience.
--
Jeff Traigle
OldSchool
Honored Contributor

Re: OpenSSH X11 Forwarding question

Excellent...I will pursue this option further then

Thx...scott