跳至內容

SSO is not working~

0

Hello! $ aws configure sso --> this command is not working in Ubuntu (wsl2). I am attempting to resolve this issue for 2 hours. Although it is working fine in Powershell and all other commands are fine too...and even for "aws configure" , ONLY SSO is not working. It displays as below when I tried $aws configure sso" To see help text, you can run:

Any one can help?

已提問 3 年前檢視次數 9237 次

2 個答案
2
已接受的答案

This sounds like you may not have the right version of the AWS CLI installed on your uBuntu instance. By default V1 is available from the uBuntu repository, for V2 (which I recommend you use), you'll need to install it.

Hope this helps.

已回答 3 年前

專家

已審閱 2 年前

0

Thanks for your prompt reply! One thing I found strange is that it shows currently running on version 2 like below owner@a-Desktop:/mnt/d$ wsl.exe -l -v NAME STATE VERSION

  • Ubuntu Running 2 docker-desktop Stopped 2 docker-desktop-data Stopped 2 which means I am running on version 2 now

However, I found shell commandLine is version 0.2.1 owner@a-Desktop:/mnt/d$ wsl Wsman Shell commandLine, version 0.2.1

I clicked the accepted button for my appreciation to you but pls advise me if you have any clue on this ..

已回答 3 年前

  • Do the following: 'aws --version' at the command line. It should return something like aws-cli/2.10.0 Python/3.11.2 If it is 1.x. update it following the steps above.

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

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