public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* startxwin.exe and ssh-agent
@ 2010-02-05 12:35 Joe Warren-Meeks
  2010-02-05 15:15 ` Timares, Brian (Harris Corp.)
  2010-02-08 14:02 ` Jon TURNEY
  0 siblings, 2 replies; 3+ messages in thread
From: Joe Warren-Meeks @ 2010-02-05 12:35 UTC (permalink / raw)
  To: cygwin-xfree

Hey guys,

I've googled extensively and searched the mail archives, but I can't
find anything which describes how to configure cygwin to use
ssh-agent.

In the 1.5 world, I modified startxwin.bat to prefix the XWin.exe line
with ssh-agent, and this worked a treat.

How should I do this now? I basically want my whole Xserver to run as
a child of my ssh-agent so all xterms and other processes will collect
the credentials.

 -- joe.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: startxwin.exe and ssh-agent
  2010-02-05 12:35 startxwin.exe and ssh-agent Joe Warren-Meeks
@ 2010-02-05 15:15 ` Timares, Brian (Harris Corp.)
  2010-02-08 14:02 ` Jon TURNEY
  1 sibling, 0 replies; 3+ messages in thread
From: Timares, Brian (Harris Corp.) @ 2010-02-05 15:15 UTC (permalink / raw)
  To: cygwin-xfree

Joe Warren-Meeks wrote:
>I've googled extensively and searched the mail archives, but I can't
>find anything which describes how to configure cygwin to use
>ssh-agent.

http://mah.everybody.org/docs/ssh


Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: startxwin.exe and ssh-agent
  2010-02-05 12:35 startxwin.exe and ssh-agent Joe Warren-Meeks
  2010-02-05 15:15 ` Timares, Brian (Harris Corp.)
@ 2010-02-08 14:02 ` Jon TURNEY
  1 sibling, 0 replies; 3+ messages in thread
From: Jon TURNEY @ 2010-02-08 14:02 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: joe.warren.meeks

On 05/02/2010 12:35, Joe Warren-Meeks wrote:
> I've googled extensively and searched the mail archives, but I can't
> find anything which describes how to configure cygwin to use
> ssh-agent.
>
> In the 1.5 world, I modified startxwin.bat to prefix the XWin.exe line
> with ssh-agent, and this worked a treat.
>
> How should I do this now? I basically want my whole Xserver to run as
> a child of my ssh-agent so all xterms and other processes will collect
> the credentials.

Creating a shortcut which starts the X server with:

'C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "ssh-agent startxwin"'

should probably do what you want.

Note that (as before), processes you start other than via the X traymenu (for 
example, from a start menu item) aren't children of ssh-agent, so won't 
inherit SSH_AUTH_SOCK and SSH_AGENT_PID from it.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-08 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-05 12:35 startxwin.exe and ssh-agent Joe Warren-Meeks
2010-02-05 15:15 ` Timares, Brian (Harris Corp.)
2010-02-08 14:02 ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).