Redirect physical keyboard input to SSH

Posted by Dimme on Super User See other posts from Super User or by Dimme
Published on 2012-09-12T20:28:05Z Indexed on 2012/09/12 21:40 UTC
Read the original article Hit count: 181

Filed under:
|
|
|
|

I'm having a raspberry pi running debian linux and I have an RFID reader connected to it. The RFID reader behaves like a keyboard. Every time I scan a tag it types then number of the tag and then carriage return.

My problem is that I want to redirect the output of the RFID reader to my SSH session. That means anything that is typed to the physical keyboard of the pi should be displayed in my SSH window.

I have tried with: cat /dev/tty0 but it wont work because the user is not logged in.

Is there a way to disable the login screen after the pi boots and then redirect all input through SSH?

© Super User or respective owner

Related posts about linux

Related posts about ssh