Generate hardware key events from a remote shell session