I'm sshing from my Mac to an Ubuntu machine, but for some reason the key bindings do not work properly. For example when I try to run the tmux shortcut CTRL+b it returns ^B.
The closest questions I could find around is this where different combinations of the stty command has been proposed. I tried them all but none solved the issue. I have checked my .bashrc file but I can't find anything aliasing the CTRL key!
I would appreciate if you could help me know what is the problem and how I can solve it.
P.S.1. I was asked to run the locale and locale -a commands and add the results here:
$ locale
LANG=en_US.UTF-8
LANGUAGE= LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8
$ locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX
P.S.2 I have posted my .bashrc and stty -a here.