[HPADM] Performing X -stuff tunneled through HP's version of Secure shell.

From: IlicR@stentor.ca
Date: Wed Feb 12 2003 - 10:27:05 EST


Hi all.
I'm trying to set the latest version of HP's secure shell ( version 3.10.002) to
perform
X windows tunneling. I have working version of openssh version 2.5.5 which does
work fine.
Using same procedure for the latest version of HP secure shell doesn't work at
all.

I'm having trouble with $DISPLAY setting. It never show proper value of DISPLAY.

What I'm doing ?

Using openssh I'm performing next:

Initiate a X-tunneled connection to the server;
$ssh -X username@hostname

Once logged in display your DISPLAY variable:
$echo $DISPLAY

Extract your cookie info to a file (note: on sun systems use
/usr/openwin/bin/xauth):
$xauth extract /tmp/filename $DISPLAY

su to root, set DISPLAY, merge the cookie info, remove the temporary file:
$su -
#DISPLAY={same setting as echo provided}
#export DISPLAY
#xauth merge /tmp/filename
#rm /tmp/filename

You can now perform X-windows activities to your screen

This DOES work on open ssh . Trying to use HP's secure shell I'm getting next:

$ssh -X username@hostname

echo $DISPLAY

DISPLAY is not set ????????

After the latest support plus set is added I'm getting
echo $DISPLAY
localhost:10.0

How I can get IP instead of localhost ? I need IP address because xauth does
work only with
IP not with localhost. Also I'm not able to figure out what is patch name who
fixed this.
I suspect this is patch PHSS_25277 , but I'm not sure.
Does anyone from the list was able to set up proper work with HP's version of
Secure shell.
One more this works fine with open shh release 2.5 - 2.9.
Any recommendation or advice is highly welcomed... I'll make summary...

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:26 EDT