From owner-ssh@clinet.fi  Wed Apr  2 07:10:59 1997
Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1]) by hutcs.cs.hut.fi (8.8.5/8.7.3) with ESMTP id HAA23121; Wed, 2 Apr 1997 07:10:59 +0300 (EET DST)
Received: (daemon@localhost) by hauki.clinet.fi (8.8.5/8.6.4) id HAA27207 for ssh-outgoing; Wed, 2 Apr 1997 07:05:37 +0300 (EET DST)
Received: from nukkekoti.cs.hut.fi (nukkekoti.cs.hut.fi [130.233.40.128]) by hauki.clinet.fi (8.8.5/8.6.4) with ESMTP id HAA27200 for <ssh@clinet.fi>; Wed, 2 Apr 1997 07:05:34 +0300 (EET DST)
Received: from hiekkalaatikko.cs.hut.fi (hiekkalaatikko.cs.hut.fi [130.233.40.178])
	by nukkekoti.cs.hut.fi (8.8.5/8.8.5/1.15) with ESMTP id HAA12588
	for <ssh-mailgate@niksula.hut.fi>; Wed, 2 Apr 1997 07:05:33 +0300 (EEST)
Received: (from news@localhost)
	by hiekkalaatikko.cs.hut.fi (8.8.5/8.8.5/1.8) id GAA13144
	for ssh-mailgate@niksula.hut.fi; Wed, 2 Apr 1997 06:17:01 +0300 (EEST)
Received: from GATEWAY by news.cs.hut.fi with netnews
	for ssh-mailgate@niksula.hut.fi (ssh@clinet.fi)
To: ssh@clinet.fi
Date: Tue, 01 Apr 1997 21:22:59 -0500
From: Rob Francis <Rob_Francis@dti.net>
Message-ID: <3341C303.41C6@dti.net>
Organization: Digital Telemedia, Inc.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: ssh-agent and .sgisession (I saw someone post a solution, lost it)
Sender: owner-ssh@clinet.fi
Precedence: bulk

Recently, someone posted the following suggestion for allowing
an SGI window session to make use of ssh-agent:

---
[ ~/.sgisession ]

exec /usr/local/bin/ssh-agent
/Net/babylon/usr/people/ryan/.sgisession-real

[ ~/.sgisession-real ]

/usr/local/bin/unclutter &
/usr/sbin/winterm
/usr/local/plan&
---

So I did the same thing:


rfrancis@cap(6):more .sgisession
exec /usr/local/bin/ssh-agent /usr/people/rfrancis/.sgisession-real

---

rfrancis@cap(7):more .sgisession-real 
/usr/bin/X11/xhost -
rfrancis@cap(8):

So now when I login, the xhost - happens, but there is no ssh-agent
running.  If I just invoke 'ssh-agent /bin/shell', in an xterm works
just fine.  So there's no sign of an ssh-agent dying, but there's also
no sign of it running:

rfrancis@cap(19):ps -ef|fgrep ssh-agent
rfrancis@cap(20):

If anyone could offer any possible thoughts on the matter, it'd be much
appreciated.

Thanks,


-rob
rfrancis@dti.net
