[ale] ssh-agent processes

David Corbin dcorbin at imperitek.com
Mon May 20 06:33:53 EDT 2002


James P. Kinney III wrote:

>I think you need to look hard at the configuration of ssh-agent. Also
>look at creation times for those files. The should correpond to logins
>on the machine. If you have had several X crashes (nautilus is flakey
>around the edges sometimes), that may leave dangling ssh-agent processes
>lying around. 
>
>It shouldn't hurt to "kill -9 ssh-agent". At worst you'll need to
>reformat all the drives and reinstall from scratch.
>
>Just kidding!!
>
>Really at worst, if you are the only person on the box and you log out
>of X and drop to a root shell, killing all ssh-agent processes is no
>problem.
>
>Look and see who owns those process. (ps aux |grep ssh-agent). If it's
>all owned by your login, modify your [xgk]dm logon script to kill off
>any stale ssh-agent process owned by the login id.
>
>Also, look at upgrading (or down-grading) openssh. It should be handling
>all this better so it may be a bug.
>  
>

X is not involved.  I telnet from a windows box to the linux box in 
question. (And I am the only user on the box).  However, I frequently 
have 4 telnet sessions to the box, so killing old ones isn't a very good 
idea for me.

>On Sun, 2002-05-19 at 16:47, David Corbin wrote:
>  
>
>>James P. Kinney III wrote:
>>
>>    
>>
>>>Look in /tmp/ssh-XXXXX for a bunch of agent.<pid> files. If they are
>>>there, you are having aconnectivity problem that is not cleaning up
>>>after itself. 
>>>
>>>      
>>>
>>It's this one.  What can I do about it?
>>
>>
>>    
>>
>>>If they are not there, you are having a configuration
>>>problem with ssh-agent. 
>>>
>>>On Sun, 2002-05-19 at 10:44, David Corbin wrote:
>>> 
>>>
>>>      
>>>
>>>>I seem to have a build-up of ssh-agent processes on my system.  I start 
>>>>this in .bash_profile (eval `ssh-agent`), but it doesn't appear to clean-up.
>>>>
>>>>Ideas?
>>>>
>>>>David.
>>>>
>>>>
>>>>---
>>>>This message has been sent through the ALE general discussion list.
>>>>See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
>>>>sent to listmaster at ale dot org.
>>>>   
>>>>
>>>>        
>>>>
>>
>>
>>---
>>This message has been sent through the ALE general discussion list.
>>See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
>>sent to listmaster at ale dot org.
>>    
>>




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list