cclvi256
cclvi256

Reputation: 41

Why My MobaXterm Starting 2 sshd Processes on My Server?

When I'm using Windows Terminal or Visual Studio Code, only 1 process of sshd was started. But when using MobaXterm, it seems to start two processes.

When I'm connecting my server with ssh using VS Code or Windows Terminal, and then

$ netstat -anp | grep [My IP]                                                                                           
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 [Server IP]:22        [My IP]:[Port]     ESTABLISHED -

But when I'm using MobaXterm, then

$ netstat -anp | grep [My IP]                                                                                           
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 [Server IP]:22        [My IP]:[Port]     ESTABLISHED -
tcp        0      0 [Server IP]:22        [My IP]:[Port]     ESTABLISHED -

Besides, when disconnected, the two sshd processes will both disappear. Because of my server is a shared server, so occupying 2 connections may be unconvenient to other users because of the MaxStartup limit. It confused me so much and I wonder how I can change some settings in order to disable the duplicated process?

Upvotes: 0

Views: 72

Answers (0)

Related Questions