Change the shell for the ssm-user on an EC2 instance
You can configure the shell profile in AWS Systems Manager. Here are the steps to change the shell to bash: Open the Systems Manager Console: Go to the AWS Management Console and open the Systems Manager console. Navigate to Session Manager: In the navigation pane, choose Session Manager. Edit Preferences: Go to the Preferences tab and click on Edit. Configure Shell Profile: Under the shellProfile section for Linux, enter the following information to set the shell to bash: /bin/bash Save Changes: Save the changes to apply the new shell configuration.