Re: [Note:] ssh agent forwarding

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

 



On Thu, Jul 28, 2016 at 10:24 PM Gordon Messmer <gordon.messmer@xxxxxxxxx> wrote:
On 07/28/2016 06:34 PM, Mike Wright wrote:
> Usually I start it like this:
> ssh-agent
> The solution was to invoke ssh-agent differently:
> eval `ssh-agent -s`

Yes, that's normal.  You need to either eval the output of ssh-agent or
it must be the parent process of your shell.  (e.g. ssh-agent
gnome-shell).  If you weren't doing that in the past, then the ssh-agent
you invoked without "eval" wasn't the ssh-agent you were actually
using.  GNOME provides its own agent, for instance, and you may have
been using that.


Agreed. Mike was almost certainly connecting to the one provided by gnome-keyring-daemon (/run/user/<uid>/keyring/ssh), and the ssh-agent he was launching wasn't being used at all.

As was pointed out in the previous thread, it seems there might be a race condition, and sometimes this socket doesn't get created by gnome-keyring-daemon when one logs in.

This has only happened to me in F24, and it has happened a few times since I've upgraded. So far, I've found that simply logging out and logging back in is usually sufficient to fix it. It is annoying, though, especially since I don't see any errors from monkeysphere when it tries to inject my auth keys into the agent and the agent isn't there.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux