This is a note to self on how to enable iTerm keep-alive or anti-idle option.
- Open iTerm. Go to Bookmarks → Manage Profiles… .
- In Profiles window, browse to Terminal Profiles and expand the menu by clicking the triangle. Choose and click on Default.
- Tick the “When idle, sends ASCII code” and set its value to 20 (ASCII for space).
- Exit the Profiles window.