If you are using CentOS 7 or later then if your SSH Connection is taking long time then, just restart following service. It resolves the issue.
# systemctl restart systemd-logind
Simply Bytes Ahead In Computing !
If you are using CentOS 7 or later then if your SSH Connection is taking long time then, just restart following service. It resolves the issue.
# systemctl restart systemd-logind