Bug 881

Summary: An ssh-agent is leaked at X server shutdown
Product: Sisyphus Reporter: Mikhail Zabaluev <mhz>
Component: xinitrcAssignee: Mikhail Zabaluev <mhz>
Status: CLOSED NOTABUG QA Contact:
Severity: minor    
Priority: P4 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

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 \&quot;ssh-agent -u\&quot;.
When you leave console, just execute \&quot;ssh-add -D\&quot;.
Comment 2 Dmitry V. Levin 2002-05-06 16:08:01 MSD
There are no need to kill \&quot;ssh-agent -u\&quot;.
When you leave console, just execute \&quot;ssh-add -D\&quot;.
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.