Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 15 Feb 2001 07:37:21 -0700 From: Mark Paulus Subject: RE: Any hints on using Exceed with cygwin/ssh??? - SOLVED!!! In-reply-to: <0G8R00K3ESKM5F@pmismtp03.wcomnet.com> To: "Bush, David" , "cygwin AT cygwin DOT com" Reply-to: Mark Paulus Message-id: <0G8S00DBOZ931B@dgismtp03.wcomnet.com> MIME-version: 1.0 X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows 2000 (5.0.2195;1) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Priority: Normal Turns out, I use the same account at home, and I had my DISPLAY and XAUTHORITY vars hard set in my .bash_profile. Did some string magic with a if [ 1 -eq ${DISPLAY:+1} ] ; then When I try that, I get a message back: >/usr/X11R6/bin/xauth: not found > >and the DISPLAY variable never gets set to my Exceed IP. > >Now, there may be another factor. I have my home machine >connected via a Netgear Router (RT311), and I have opened >up exactly port 22. So, if it's a case of needing an extra channel open >(I didn't think so, since all X traffic is supposed to come over >the secure link??), please let me know. Any other hints will be >welcome also. > >Here is a dump of the debug output (using -v -v -v). What I can't figure >out is, who is throwing the error message: > >$ ssh -v -v -v -X -l mgpaulus home >SSH Version OpenSSH_2.3.1p1, protocol versions 1.5/2.0. >Compiled with SSL (0x0090600f). >debug: ssh_connect: getuid 1000 geteuid 1000 anon 1 >debug: Connecting to home [24.221.196.205] port 22. >debug: Connection established. >debug: identity file /.ssh/identity type 3 >debug: identity file /.ssh/id_dsa type 3 >debug: Remote protocol version 1.5, remote software version OpenSSH-1.2.3 >debug: match: OpenSSH-1.2.3 pat ^OpenSSH >debug: Local version string SSH-1.5-OpenSSH_2.3.1p1 >debug: Waiting for server public key. >debug: Received server public key (768 bits) and host key (1024 bits). >debug: Host 'home' is known and matches the RSA1 host key. >debug: Found key in /.ssh/known_hosts:2 >debug: Seeding random number generator >debug: Encryption type: 3des >debug: Sent encrypted session key. >debug: Installing crc compensation attack detector. >debug: Received encrypted confirmation. >debug: Doing password authentication. >mgpaulus AT home's password: >debug: Requesting pty. >/usr/X11R6/bin/xauth: not found >debug: Requesting X11 forwarding with authentication spoofing. >debug: Requesting shell. >debug: Entering interactive session. >Last login: Wed Feb 14 16:13:26 2001 from csu6220509a.wcomnet.com on pts/0 >Linux testbox1 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown > >Most of the programs included with the Debian GNU/Linux system are >freely redistributable; the exact distribution terms for each program >are described in the individual files in /usr/doc/*/copyright > >Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent >permitted by applicable law. >mgpaulus AT testbox1:~$ > > > > >On Wed, 14 Feb 2001 16:54:39 -0500, Bush, David wrote: > >>I have the opposite situation, but the basics are the same. >>1) Redhat 6.2 at work with latest ssl/ssh downloaded from net. >> built and installed. >>2) Windows NT on my laptop with latest Cygwin installed. >>3) Exceed 6.1 installed on my laptop >> >>Set X11Forwarding=Yes in sshd_config on the Linux system. >>With the Exceed server running I set DISPLAY=localhost:0 >>in a bash prompt. >>Specify -X on the ssh command line or X11Forwarding=yes in >>a config file. >>The DISPLAY variable should be set automatically when you >>login via ssh. >> >>david >> >>> -----Original Message----- >>> From: Mark Paulus [mailto:mark DOT paulus AT wcom DOT com] >>> Sent: Wednesday, February 14, 2001 9:38 AM >>> To: cygwin AT cygwin DOT com >>> Subject: Any hints on using Exceed with cygwin/ssh??? >>> >>> >>> I have Exceed @ work, and I am interested in knowing if anyone >>> has been successful in melding these two products together?? >>> I am running a debian 2.2. linux box @ home, and I am very >>> interested in getting the X authentication/forwarding working >>> with cygwin's ssh. >>> >>> Thanks. >>> >>> >>> > > > > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple