az login
az extension add --name ssh
az ssh config --resource-group myResourceGroup --name myVm --file ./sshconfig
- Connect directly:
ssh -F ./sshconfig myResourceGroup-myVM
- Use VS Code "Remote Explorer" extension to open in new VSCode instance
- Make sure config is saved in same config used by VSCode Remote Explorer extension