Closed Hologos closed 5 years ago
The problem was on my local machine. I was using /etc/resolver/<company>.corp
with nameserver IP address not reachable from internet. This caused the delay.
This fixed it immediately
sudo mv /etc/resolver/<company>.corp /etc/resolver/<company>.corp.disabled
Even though
-o ConnectTimeout=5
is set withssh
, it takes ages to timeout if hostname cannot be resolved.