This is not a right place to ask. But anyway the new process you see is the process handling your incoming connection. That's why you do not see it for outgoing connections as for them the similar process is run on the other server.
hi,
i have an openssh server. I've got a program in this server how connect to a lot of ssh server and itself.
But when it connect to it self (my openssh server) i've a new process launch:
13907 ? S 0:00 sshd: zizou@notty
13908 ? S 0:00 /usr/libexec/openssh/sftp-server
so if i connect 200 times to my server i've got 200 new process.
I don't have this new process when my program connect to other openssh server.
Help please!