Linux – Redirect Local USB Keyboard to Remote Shell

linuxsheevaplugusb

(Discalimer: totally unfamiliar with Linux)

Is there a way to redirect the local standard input (USB keyboard plugged into a headless, ARM-based Sheevaplug running Linux debian 2.6.22.18) to a remote SSH shell (WinXP/Putty, connected via Ethernet)?

Regards,
tamberg

Best Answer

Yes, you can. As root:

cat /dev/tty0

Type a few characters, you should get gibberish out. Press Control-C from the SSH session to stop it, and if the terminal is messed up do a

eval `reset`

to fix it.

Related Question