Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <421C90CA.2000500@kleckner.net> Date: Wed, 23 Feb 2005 06:18:50 -0800 From: Jim Kleckner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: ssh-agent and /tmp/ssh-* removal at logout Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes ssh-agent leaves stale directories named /tmp/ssh-xxxx that contain the named pipe for authentication. These left over directories come about when you log out or shut down the computer without stopping ssh-agent either by running keychain to shut it down or sending it a SIGHUP to exit and clean up. Could ssh-agent catch the shutdown message and thus do the proper cleanup? What would that entail? Jim I noticed that in Karl's script to start keychain: http://sourceware.org/ml/cygwin/2004-03/msg00167.html that he removes any /tmp/ssh-* pre-existing and presumed stale directories left over by dead ssh-agent processes and this assumes that there is only one ssh-agent per machine. Not as good as actually getting rid of the source of the zombie directories. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/