az ssh vm extra ssh args not working LogLevel=error

thomas santana 1 Reputation point
2022-06-30T13:41:45.317+00:00

Hello, does anybody have issues using extra ssh args when using az ssh vm
I'm trying to ssh to a bunch of VM using bash script, all vms have a banner set up ( company policy ) so when I do :
az ssh vm --ip $ip -- -o LogLevel=error , I still get the banner.
regular ssh command avoids the banner"
ssh $ip -o LogLevel=error

any ideas ?

Thanks in advance

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,585 questions
{count} votes