When increasing net.inet.udp.recvspace on a server (FreeBSD 13.2), I noticed I can no longer SSH into that server if I set the value to 4 MB.
The current SSH session is kept alive, but if I inititate another simultaneous ssh connection, I get the following error message:
Also, if I close the current SSH session, I am locked out of the server.
In /var/log/messages, I notice the following:
If I decrease net.inet.udp.recvspace back to 1 MB, SSH works as usual. Does anyone know why this is happening?
The command I used to increase/decrease udp socket buffer space:
Server specs:
The current SSH session is kept alive, but if I inititate another simultaneous ssh connection, I get the following error message:
Code:
kex_exchange_identification: Connection closed by remote host
Connection closed by 172.31.29.181 port 22
In /var/log/messages, I notice the following:
Code:
Jan 11 16:57:23 server-1 sshd[14120]: fatal: bad addr or host: <NULL> (Name does not resolve)
The command I used to increase/decrease udp socket buffer space:
sysctl net.inet.udp.recvspace=value
Server specs:
Code:
FreeBSD server-1 13.2-RELEASE-p8 FreeBSD 13.2-RELEASE-p8 GENERIC amd64