Re: How to re-lock ssh private key?

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

 



Todd Denniston wrote:
> Robert Nichols wrote, On 03/03/2009 02:29 PM:
>> Again, thanks for the effort, but NO-GO!
>>
>> I tried changing the setting for that boolean to false, both with
>> gconftool-2 and with the GUI gconf-editor, and also by running
>> gconftool-2 as root.  No change, nada, zip!

Well, all that would do is prevent the gnome-keyring-daemon from being
your ssh-agent.  You _should_ then have the openssh ssh-agent, which
would be configurable in a more documented way.

>> If SSH_AUTH_SOCK is unset or the socket is not present, ssh-add
>> fails with "Could not open a connection to your authentication
>> agent."

Sure.  No surprises there.

>> Looks like the only options are (a) use gnome-keyring-daemon and
>> accept that the key is unlocked forever, or (b) use nothing and
>> enter the passphrase every time.

I can't imagine those are the only choices.  :)

> I am not sure where to modify it now days, but IIRC ssh-agent is
> started before your window manager is going in the xinitrc.  it used
> to be around line 62 of /etc/X11/xinit/xinitrc-common
>
> My guess is the -t needs applied to THAT instance of ssh-agent.

Actually, modifying the ssh-agent invocation shouldn't even be needed.
The -t option to ssh-add should do this.  It just doesn't work with
the gnome-keyring-daemon's ssh agent, but it should work with the
openssh ssh agent.

Bob, when you set /apps/gnome-keyring/daemon-components/ssh to false
(as your user), does that change what program is providing the
SSH_AUTH_SOCK?

I think the first step is to verify that you're replacing the
gnome-keyring-daemon ssh agent with the openssh ssh agent.  It seems
to me that the features you are looking to use are not implemented in
gnome-keyring-daemon.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reason obeys itself; and ignorance does whatever is dictated to it.
    -- Thomas Paine

Attachment: pgpgAemA5psLU.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux