Can't install iam-authenticator in cloudshell

0

I want to install iam athenticator in a cloudshell environment, but I keep getting an error when I run the following command.

curl -o aws-iam-authenticator https://s3.us-west-2.amazonaws.com/amazon-eks/1.21.2/2021-07-05/bin/linux/amd64/aws-iam-authenticator

It returns this error.

Warning: Failed to create the file aws-iam-authenticator: Permission denied

I'm following a tutorial and I'm not sure why I get the above error and I cannot continue the tutorial without iam_authenticator installed.

1 個回答
2
已接受的答案

The command above is to download the file named "aws-iam-authenticator" from the URL and then save it into the current directory under the same file name at your local machine / server. And the error message here show that your account currently have no permission to save the file on that directory

AWS
r0ckvn
已回答 2 年前
  • That was it!

    For some reason none of the directories were visible when I first logged in and used 'pwd', but once I did 'cd ./bin', I could see everything in that directory. Once I went back using 'cd ..' I could see the directories in that directory too. Strange.

    The Sudo command worked as well and I am running!

    Thank you.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南