Re: KDE ssh-agent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike -- EMAIL IGNORED wrote:
> I have been using ssh-agents for a while and I have good scripts and
> procedures to manage them.

You use more than one at a time then?

> Is there a way I can disable the provision of this automatically
> provided agent?  It gets in the way, and I frequently have to
> manually delete it.

It's started via some code in /etc/X11/xinit/xinitrc-common:

# Prefix launch of session with ssh-agent if available and not already running.
SSH_AGENT=
if [ -x /usr/bin/ssh-agent -a -z "$SSH_AGENT_PID" ]; then
    if [ "x$TMPDIR" != "x" ]; then
        SSH_AGENT="/usr/bin/ssh-agent /bin/env TMPDIR=$TMPDIR"
    else
        SSH_AGENT="/usr/bin/ssh-agent"
  fi
fi

So if you've already started your ssh-agent, it shouldn't be started
again.  If you don't want it to start because you plan to start it up
later, perhaps you could set the SSH_AGENT_PID variable?

You can always edit the xinitrc-common script directly, but then you
have to remember to redo your changes after an update (that script
isn't marked as a %config script in the rpm).

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
All decent people live beyond their incomes nowadays, and those who
aren't respectable live beyond other peoples'.
    -- Saki

Attachment: pgpD0SVIwQFKq.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux