LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-13-2007, 05:09 PM   #1
Corrado
Member
 
Registered: Aug 2004
Location: Washington
Distribution: RHEL
Posts: 174

Rep: Reputation: 16
SSH-agent running


Why would ssh-agent still be running even after the ssh session has been terminated?

I noticed ssh-agent processes being owned by various users who have at one time ssh'd into my workstation.

Session isn't being ended properly?

Chris
 
Old 06-14-2007, 11:24 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
ssh-agent is the daemon that gives the key to the *ssh clients*. It has nothing to do on the server.
It is usually started when you login locally in your X environment and then it exports to its subshells (all in this case) some environment variable to be reached by X clients.
So, in normal case, it should be started once and when you logoff, it should be stopped.

In your case, that's strange that ssh-agent is started for incoming ssh connections..
Then probably connected to your ssh server and then started (manually) ssh-agent to connect to another ssh server from yours. When they logoff, depending on the process Parent PID, these processes can stay yes.

Last edited by nx5000; 06-14-2007 at 11:25 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
need help with no password ssh and ssh-agent hedpe Linux - Networking 3 02-08-2007 08:49 PM
using ssh-agent Jzarecta Linux - Security 1 01-30-2007 05:28 PM
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 03:09 AM
ssh-agent alaios Linux - Security 5 05-02-2004 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration