LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2009, 09:50 PM   #1
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
sshd chain is pstree output?


Looking at the output of pstree on my server at a given time while I'm ssh'd to it, I see this:

Code:
     ├─sshd───sshd───sshd───bash───pstree
and ps aux has:
Code:
root      2296  0.0  0.0  25840  1236 ?        Ss   22:42   0:00 /usr/sbin/sshd
root      2423  0.0  0.0  36792  2684 ?        Ss   22:43   0:00 sshd: jameson [priv]
jameson   2425  0.0  0.0  36932  1740 ?        S    22:43   0:00 sshd: jameson@pts/0
I could understand that a privileged sshd daemon launches a process for jameson, but what is the intermediary [priv] one about?

Last edited by jhwilliams; 01-07-2009 at 10:00 PM.
 
Old 01-09-2009, 07:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the main sshd process will spawn a thread for each connection, and that thread then spawns the users environment. I think.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pstree atul_sp Linux - Server 1 07-17-2008 07:39 AM
Starting sshd: /etc/init.d/sshd: line 113: /usr/sbin/sshd: Permission denied sumanc Linux - Server 5 03-28-2008 04:59 AM
Please translate pstree output and inform how to manipulate it Frybyte Linux - General 1 06-19-2004 09:26 PM
SShD Silently failing -- Need directions, output logs Caidence Linux - Networking 2 01-24-2004 08:38 PM
Firewalling OUTPUT chain question Gilion Linux - Networking 0 10-16-2003 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:34 AM.

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