scripting using Xterm ssh

Dennis Foreman dforeman@stny.rr.com
Thu Jul 18 10:20:00 GMT 2002


I recently installed Cygwin. I am NOT a highly knowledgeable UNIX user. I
have read the man pages for ssh and Xterm and searched the Xfree archives
using 'ssh' as a search arg.

I am trying to figure out how to create a script that will do ALL of the
following:

1. Use ssh to log me in to my UNIX system, without having to type the
password
2. Create an Xterm window on my Windows desktop
3. Allow the Xterm to be opened without clicking on the X desktop
4. Run a specific program in the Xterm. The program creates Xwindows that
must display on my PC.

I know I can use startxwin.bat to start xterms, but can't figure out how to
make it:
a. send the passwords
b. do it through ssh

I need this as a script because I have to run 7 copies of it (for 7
different systems) before I can actually get my work done.

Can someone give me some places to look for examples or extended
documentation on combining my 4 requirements? Or send me some examples?

regards,
D. J. Foreman
website: http://WWW.CS.Binghamton.EDU/~foreman



More information about the Cygwin-xfree mailing list