Describe the bug
Passing multiple local port forwards with the az ssh vm command only successfully tunnels the first port passed. Second, third, and subsequent port forward parameters are not successfully established.
Related command
az ssh vm --resource-group AZResourceGroup --name AZServerName -- -f -N -o ExitOnForwardFailure=yes -L 10001:first.exampleserver.com:3389 10002:second.exampleserver.com:3389 10003:third.exampleserver.com:3389
Errors
No error output is shown. Subsequent local port forwards are simply not established.
Issue script & Debug output
N/A
Expected behavior
All local port forwards are established.
Environment Summary
{
"azure-cli": "2.52.0",
"azure-cli-core": "2.52.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"ssh": "1.1.6"
}
}
Additional context
All local port forwards used to be established successfully in a previous version of Azure CLI. I do not recall which previous version.
Describe the bug
Passing multiple local port forwards with the az ssh vm command only successfully tunnels the first port passed. Second, third, and subsequent port forward parameters are not successfully established.
Related command
az ssh vm --resource-group AZResourceGroup --name AZServerName -- -f -N -o ExitOnForwardFailure=yes -L 10001:first.exampleserver.com:3389 10002:second.exampleserver.com:3389 10003:third.exampleserver.com:3389
Errors
No error output is shown. Subsequent local port forwards are simply not established.
Issue script & Debug output
N/A
Expected behavior
All local port forwards are established.
Environment Summary
{
"azure-cli": "2.52.0",
"azure-cli-core": "2.52.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"ssh": "1.1.6"
}
}
Additional context
All local port forwards used to be established successfully in a previous version of Azure CLI. I do not recall which previous version.