Hi,

 I have a question on the open ssh code (any version). when a request to run a 
subsystem (say sftp) is received by SSHD, why fork and exec a shell with '-c 
.../sftp-server' instead of directly fork-ing and exec-ing sftp-server? What 
value does the shell add?

 I know this is a common approach and may have nothing to do with SSH/SFTP in 
general but I wanted to understand the reasoning behind this.


TIA

Reply via email to