ALT Linux Bugzilla – #881
An ssh-agent is leaked at X server shutdown
Last modified: 2003-08-25 15:18:30
You need to
before you can comment on or make changes to this bug.
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.
There are no need to kill \"ssh-agent -u\".
When you leave console, just execute \"ssh-add -D\".
The only downside left is that $SSH_AGENT_PID is lost with the first server
shutdown. Anyway, it has little added utility.