Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

(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

share|improve this question
    
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
add comment

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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