You'd probably have to figure out the /dev/ entry for the host keyboard. But what are you trying to accomplish..?
I don't think there is a way to do this - it would be a serious security risk if one were able to ssh into a machine and capture all keystrokes from the main keyboard - perhaps that's what you were counting on?