This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Initiating a remote X session


On Wed, 21 Jan 2004, Steve Howie wrote:

> >Or even better, Use ssh:
> >
> >DISPLAY=localhost:0 ssh -X <host> -l <username> "/opt/SAS82/sas"
> >
> >ssh will take care of setting the remote DISPLAY and all transferred 
> >data is sent via the ssh tunnel.
> >  
> >
> 
> Great! This works fine, but we still get the ugly ssh-style password 
> prompt - just a thought, but is there anything available under cygwin to 
> front end this with a username/password pop-up window? That'd be ideal :)

Maybe x11-ssh-askpass may help here
http://www.jmknoble.net/software/x11-ssh-askpass/

The same for windows
http://www.ganaware.jp/S/win-ssh-askpass/

So the statup script is

#!/bin/bash
export DISPLAY=localhost:0.0
export SSH_ASKPASS="/usr/bin/win-ssh-askpass.exe"
ssh -f -X <host> -l username "/opt/SAS82/sas"

This should bring up a window for the password.

Unfortunatly the testing with cygwin openssh did not work properly.
I'll take a look if this is disabled with the cygwin build-

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]