SSHD and multiple gitea processes


#1

Hi,
I have gitea (it was 1.2.3, now updated to 1.3.2) managed by kubernetes.
The container with gitea is killed because of too much memory consumption.

I see a lot of processes spawn:
/app/gitea/gitea serv key-5 --config=/custom/conf/app.ini

And the log contains multiple lines with SSHD involved (an example below).
I cannot figure out what the problem might be.
Any suggestions are very welcomed.
Thank you in advance.
Nicola

eb 1 09:47:05 sshd[1396]: Accepted publickey for git from 10.32.0.1 port 18673 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1387]: Accepted publickey for git from 10.32.0.1 port 18669 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1401]: Accepted publickey for git from 10.32.0.1 port 18676 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1404]: Accepted publickey for git from 10.32.0.1 port 18678 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1409]: Accepted publickey for git from 10.32.0.1 port 18679 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1400]: Accepted publickey for git from 10.32.0.1 port 18675 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1398]: Accepted publickey for git from 10.32.0.1 port 18674 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1385]: Accepted publickey for git from 10.32.0.1 port 18666 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1390]: Accepted publickey for git from 10.32.0.1 port 18672 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1402]: Accepted publickey for git from 10.32.0.1 port 18677 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1414]: Accepted publickey for git from 10.32.0.1 port 18683 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1386]: Accepted publickey for git from 10.32.0.1 port 18668 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1388]: Accepted publickey for git from 10.32.0.1 port 18670 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1430]: rexec line 32: Deprecated option UsePrivilegeSeparation
Feb 1 09:47:05 sshd[1411]: Accepted publickey for git from 10.32.0.1 port 18682 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1453]: rexec line 32: Deprecated option UsePrivilegeSeparation
Feb 1 09:47:05 sshd[1458]: rexec line 32: Deprecated option UsePrivilegeSeparation
Feb 1 09:47:05 sshd[1460]: rexec line 32: Deprecated option UsePrivilegeSeparation
Feb 1 09:47:05 sshd[1417]: Accepted publickey for git from 10.32.0.1 port 18685 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1426]: Accepted publickey for git from 10.32.0.1 port 18690 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1418]: Accepted publickey for git from 10.32.0.1 port 18686 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1477]: rexec line 32: Deprecated option UsePrivilegeSeparation
Feb 1 09:47:05 sshd[1479]: rexec line 32: Deprecated option UsePrivilegeSeparation
Feb 1 09:47:05 sshd[1428]: Accepted publickey for git from 10.32.0.1 port 18691 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1430]: Accepted publickey for git from 10.32.0.1 port 18693 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8
Feb 1 09:47:05 sshd[1453]: Accepted publickey for git from 10.32.0.1 port 18694 ssh2: RSA SHA256:EX7RCgdmAJzVfH38IJ/zsPk8t1/toIincCjnfB8uIF8


#2

I reply to my message.
Most probably it’s an external attach via ssh.
Bye
Nic