0

Telnet connections are getting refused after 64, system wide.

This message is filling up /var/log/messages.

systemd: telnet.socket: Too many incoming connections (64)

How do I increase it from the default 64?

ourmandave
  • 1,505
  • 2
  • 15
  • 49

1 Answers1

0

Set the new limit in the telnet.socket file.

Add the line: MaxConnections=2048 under [Socket].

/lib/systemd/system/telnet.socket

[Socket]
ListenStream=23
Accept=true
MaxConnections=2048

Restart the telnet daemon with:

systemctl daemon-reload

ourmandave
  • 1,505
  • 2
  • 15
  • 49