Unable to get SSH host key due to short timeout

Some servers can be a bit slow in responding to host key request, so ssh-keyscan may return empty result when using the default 5 seconds timeout. A workaround is to increase the timeout, ssh-keyscan -T 10 hostname for 10 seconds.

Noticed this issue from host key verification error when mirroring a GitLab repository to an external repository. I could not fix it because I can’t modify the SSH client configuration in GitLab.com to increase ConnectTimeout.

Do not disable Android lockscreen

Disabling the Android lockscreen may cause the display to turn on by itself, either after timeout or power button. Worse, after turning on, it may stay on and does not timeout. I experienced this issue in LineageOS 21 and 22. Apparently, this issue has been around since 17 and another one reported with version 20.