The command failed with an unexpected error. Here is the traceback:
The extension ssh is not installed.
Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
raise ex
File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
result = cmd_copy(params)
File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
return self.handler(*args, **kwargs)
File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/network/custom.py", line 8375, in ssh_bastion_host
_test_extension(SSH_EXTENSION_NAME)
File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/network/custom.py", line 8303, in _test_extension
ext = get_extension(extension_name)
File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/extension/__init__.py", line 340, in get_extension
raise ExtensionNotInstalledException(ext_name)
azure.cli.core.extension.ExtensionNotInstalledException: The extension ssh is not installed.
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Linux-3.10.0-1160.66.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core, CentOS Linux 7 (Core)
Python 3.6.8
Installer: RPM
azure-cli 2.37.0
Extensions:
storage-preview 0.8.0
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az network bastion sshErrors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az network bastion ssh --name {} --resource-group {} --target-resource-id {} --auth-type {} --username {}Expected Behavior
Environment Summary
Additional Context