az ssh vm extra ssh args not working LogLevel=error

thomas santana 1 Reputation point

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.
6,793 questions
{count} votes