Hi,
Really odd problem: I've upgraded Wheezy to Jessie and after that keys on hardware (usb) keyboard are mixed up. For example instead of 'r' is 'p' and ',' is for 'q'. I found:
https://wiki.debian.org/Keyboard
then to be sure, compared keyboard settings to another machine which is still based on Wheezy. It is working fine via ssh.