On Tue, Mar 19, 2002 at 10:45:42AM +0000, John P. Looney wrote:
> On Mon, Mar 18, 2002 at 03:53:57PM +0000, kevin lyda mentioned:
> > in my .zlogin it goes like this:
> >
> > auth
> > source $HOME/bin/.ssh-env
>> What does "auth" do ?
By my reading, not what it's intended to :-) I just mailed Kevin about it -
doubtless he'll reply with a correction, or alternatively point out exactly
why I'm a gobshite. auth's intention was to run ssh-agent iff it hadn't been
run already and add keys. However, auth didn't source .ssh-env when it
didn't run ssh-agent so I'm not sure it would do what one wants. I'm
currently looking at this and I have ssh-agent running from my .xsession but
trying to get a nice neat situation going is a little messy i.e. if a user
logs in via ?dm, I want him to run ssh-agent from .xsession, unless
ssh-agent is already running, in which case I want his session to pick up
the existing values. If he logs in via ssh from another box, then I want him
to start ssh-agent from his shell start script, unless it's already running,
in which case I want him to pick up the values from that. That is proving a
little tricky.
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!