Hello, first ever question on this platform....
I'm writing a deployment script for an application in Azure and as best practice I want to deploy a Bastion service as part of it. Via Bastion I want to ssh
into a Linux VM.
All works fine: deploying a vnet, subnet, public IP and the Bastian itself with az network bastion create
but it seems ssh to a host in the private vnet only works when you manually check a box in the Azure Portal. Can anybody confirm? I cannot find any ARM parameter for this.... Just opened an issue on GitHub (https://github.com/Azure/azure-cli/issues/23525)
With az network bastion show
you can see the parameter (and change after checking the box in the portal). The parameter is:
`"enableTunneling": true,`
which with the az CLI deployment can only be done with the "default" value which is false
. there is no way (at least not according to documention) how to change this parameter.