Fix
Check whether UseDNS parameter is enabled in ssh config file sshd_config.
UseDNS no
Restart the ssh service
Some Quick Fixes and Resolutions by Linux Enthusiast
Fix
Check whether UseDNS parameter is enabled in ssh config file sshd_config.
UseDNS no
Restart the ssh service