consistent 21 second delay in response for ssh connection to Linux Redhat server in Azure
A consistent 21-second delay is occurring during SSH connections to a RedHat Linux server (OpenSSH_7.4) in Azure. This delay affects all endpoints trying to connect using SSH including ones on the corporate network going through the firewall and ones that are in the same Azure subscription using the same rsource group and subnets. For some reason out of the 50 endpoints tested only 2 endpoints do not experience this problem when connecting to the linux server using SSH and those 2 endpoints are also in Azure in the same resource group, those 2 connect immediately despite identical network infrastructure and server conditions.
wireshark log shows repeated retransmits for both fast connections and slow connections however on the slow connections there is also a 21 second delay where no traffic is detected to the source connection, other traffic is flowing normally during this 21 second delay.
the delay is always 21 seconds. it was 51 seconds before rebooting the linux server and now has slightly improved to 21 seconds however it was a 1 second connection time a few months ago and no other change has been made to the server other than reboot.
all other server in Azurewith SSH connections do not experience this problem.
wondering if any one else has seen this problem.