Skip to Content

Slowness while doing ssh

Slowness when using SSH

If you are facing any slowness while doing ssh, check the following steps:-

1. Make sure that you are not facing any network issues.

2. Try to do ssh from the jump box as well as from the remote servers manually and confirm whether the issue is persisting.

3. If the issue is persisting, check the size of the /var/log/btmp. You can check that by running the following command on the remote server.

root@remoteserver:~ ls -lah /var/log/btmp

If the size of /var/log/btmp is high then truncate the logs in /var/log/btmp. You can truncate the logs by running the following command on the remote server.

root@remoteserver:~ > /var/log/btmp