Bug 881 - An ssh-agent is leaked at X server shutdown
Summary: An ssh-agent is leaked at X server shutdown
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: xinitrc (show other bugs)
Version: unstable
Hardware: all Linux
: P4 minor
Assignee: Mikhail Zabaluev
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-02 02:06 MSD by Mikhail Zabaluev
Modified: 2003-08-25 15:18 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Zabaluev 2002-05-02 02:06:32 MSD
Once an ssh-agent has been launched per /etc/X11/profile.d/ssh-agent.sh, it is never killed explicitly. As the Xsession process is terminated, there is no way to get the PID of the ssh-agent.
---

---

Comment 1 Dmitry V. Levin 2002-05-06 16:08:01 MSD
There are no need to kill \"ssh-agent -u\".
When you leave console, just execute \"ssh-add -D\".
Comment 2 Dmitry V. Levin 2002-05-06 16:08:01 MSD
There are no need to kill \"ssh-agent -u\".
When you leave console, just execute \"ssh-add -D\".
Comment 3 Mikhail Zabaluev 2002-05-06 23:43:39 MSD
The only downside left is that $SSH_AGENT_PID is lost with the first server shutdown. Anyway, it has little added utility.
Comment 4 Mikhail Zabaluev 2002-05-06 23:43:39 MSD
The only downside left is that $SSH_AGENT_PID is lost with the first server shutdown. Anyway, it has little added utility.