consistent 21 second delay in response for ssh connection to Linux Redhat server in Azure

Lenard Khoshaba 0 Reputation points
2024-11-05T00:38:12.6633333+00:00

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.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,552 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.