I am using a code deployment service that connects to my server and execute commands. It connects, run some commands, disconnects and repeat.
I am always getting connection refused on the 8th connection within the same deployment.
From the service itself, all I can see is
ssh: connect to host xxx port 22: Connection refused
I only see the connecting and disconnecting in
/var/log/auth.log -- No connection refused errors.
For reference this is what I see in
Accepted publickey for envoyer from 18.104.22.168 port 50177 ssh2: RSA ... Received disconnect from 22.214.171.124 port 50177:11: disconnected by user Disconnected from 126.96.36.199 port 50177 pam_unix(sshd:session): session closed for user envoyer Removed session 5996. ... repeated
How can I find out why it's refusing connection?