Reputation: 3026
Following the docs for installing the session-manager-plugin:
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
On Amazon linux 2:
curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm" -o "session-manager-plugin.rpm"
sudo yum install -y session-manager-plugin.rpm
session-manager-plugin
bash: session-manager-plugin: command not found
Upvotes: 1
Views: 2112
Reputation: 1
try the following
sudo dnf install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm
Upvotes: 0
Reputation: 34416
The command is probably not in your path. Try /usr/local/bin/session-manager-plugin
.
Upvotes: 2