Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently in my operating systems class and connecting to a remote server on my campus. I used the 'pstree' command to list all running processes in a visual tree and the attached screen shot is what I receive. You will notice after the sshd(secures shell daemon) that there are several sshids(other students connecting in class), but more importantly you will see something like sshid---sshid--- and so forth. This is where I am confused; why are there multiple sshid linking to eachother, my guess is there is an sshid to a proxy then the proxy does an sshid to a server.my pstree after pstree call

share|improve this question
6  
Please don't post images of text. Text can be easily copied and it's easier for other users to read – Serg 10 hours ago

The sshd process pairs are part of privilege separation; an unprivileged process handles all network communication and if necessary can ask the privileged process to carry out any actions that do require privileges. This improves security as less code is present in the privileged process; see the linked paper for more details.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.