(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

link|improve this question

67% accept rate
I'm not clear on what you expect this to do... it might be possible. – Andrew McGregor Jan 6 '10 at 14:49
Trying to test if my local USB keyboard works at all. – tamberg Jan 6 '10 at 14:52
feedback

1 Answer

up vote 1 down vote accepted

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.

link|improve this answer
Seems to work. Thanks a lot! – tamberg Jan 6 '10 at 15:25
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.