When connecting to an EC2 instance (Amazon Linux) via the AWS Systems Manager (SSM) session connect feature, I'm able to successfully connect to my instance using its SSH web client. Unfortunately, I am very used to using the Alt key for navigation in the shell (e.g. Alt+f to move one word forward, Alt+b to move one word backwards). The Alt key though doesn't work via that client, is there a way to configure it?
Currently when I input Alt+b, I get the following symbols, i.e. instead of moving the cursor before the wrongarg argument, it adds the extra two characters at the end:
Instead of moving a word back, I get what looks like an integral symbol from Calculus!
sh
or is itbash
in POSIX mode or maybe something likedash
? What is the output ofps -p $$
?bash
is called assh
, it is running in "POSIX mode" and the Alt keybindings don't seem to be enabled.~/.inputrc
. Seeman 3 readline
.