Re: ssh-agent

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



> On 4/6/2010 10:46 AM, m.roth@xxxxxxxxx wrote:
>> Todd wrote:
>>> m.roth@xxxxxxxxx wrote, On 04/06/2010 10:51 AM:
>>>> What I was doing: log onto my machine (system run level 5, I log out,
>>>> NOT just lock the screen, every single night; therefore, there should
>>>> be
>>>> no processes running owned by me), and in a terminal window, do
>>>>     ssh-agent
>>>>     ssh-add .ssh/private key
>>>> and enter my passphrase. Then I'd go through the day merrily on my
>>>> way.
>>>>
>>>> Now, I find that when I log out, ssh-agent IS NOT STOPPED, even though
>> <snip>
>>> question:
>>> if you don't start ssh-agent in your terminal do you see something like
>>> the following with ps?
<snip>
>> ps -fu<mylogin>  | grep ssh
>> <mylogin>    13313     1  0 Apr02 ?        00:00:00 ssh-agent
>> <mylogin>    18049 18019  0 09:09 ?        00:00:00 /usr/bin/ssh-agent
>> /bin/sh -c exec -l /bin/bash -c "/usr/bin/dbus-launch
>> --exit-with-session
>> /etc/X11/xinit/Xclients"
>> <snip>
>> 9:09 or so was when I used ssh-add. Note that ssh-agent has been running
>> since the second, and I logged out Friday and yesterday.
>
> So you have 2 different instances running?

Y'know, that's an interesting question, and one I didn't think of. Thing
is, I did *not* run ssh-agent when I was logging on this morning, *all* I
did was ssh-add. Checking my history, I'm sure of this course of events. I
just grepped, as well, and nothing in my . files runs it, nor does
anything in /etc/profile or /etc/profile.d.

        mark


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux