-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Describe the bug
Unable to install Az ssh extension in AVD machine. In our case ssh packages are stored in artifactory, and tried to download and install by the following commands and got the error. It was perfectly working fine few days ago. All of sudden it has stopped working anymore.
python -m pip config set global.trusted-host
python -m pip config set global.index-url
az extension add --name ssh
After running these commands it is able to download ssh-2.0.6-py3-none-any.whl, and while installing we see the following error:
FileNotFoundError: [WinError 2] The system cannot find the file specified
To debug further we tried the following command as well and got the same error again.
az extension add --source https://azcliprod.blob.core.windows.net.cli-extensions/ssh-2.0.6-py3-none-any.whl
To debug further we installed latest version of Az CLI (2.70) and tried to install ssh extension and got the following error:
cli.azure.cli.core.azclierror: an error occurred. Pip failed with status code 3221225477
Related command
az extension add
Errors
FileNotFoundError: [WinError 2] The system cannot find the file specified
cli.azure.cli.core.azclierror: an error occurred. Pip failed with status code 3221225477
Issue script & Debug output
az extension add
Expected behavior
Install the ssh extension successfully.
Environment Summary
Az CLI version 2.64 and 2.70
Additional context
No response