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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则