Cannot change hotkey in retroarch

Yup. Hopefully, by following my steps above, you can save yourself the trouble of SSHing in every time you want to change your key bindings.

But if you do decide to manually do it via editing the cfg file as @yan has suggested, (that is located in the hidden .config/retroarch directory within the cpi home directory), you will need to know what each key on the keyboard corresponds to.

Here’s a post that has it laid out for you: