Detecting Key Press in SSH Session

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • GitHub repo keyboard

    Hook and simulate global keyboard events on Windows and Linux.

    Pynput does not work because there is no X connection (i.e., no display connected to the RPi). The keyboard module also does not work because, based on what I found, since the key inputs are sent through SSH (vs. a keyboard directly connected to the RPi), the keys pressed on my main computer are sent as text, not key presses (see here).

  • GitHub repo Ansible

    Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts