Remediation
From Google Cloud CLIβ
- Login to Google Cloud console
- Go to Computer Engine
- Go to VM instances
- Click on the Specific VM
- Click
EDIT
- Unselect
Enable connecting to serial ports
belowRemote access
block. - Click
Save
From Google Cloud Consoleβ
Use the below command to disable
gcloud compute instances add-metadata <INSTANCE_NAME> --zone=<ZONE> --metadata=serial-port-enable=false
or
gcloud compute instances add-metadata <INSTANCE_NAME> --zone=<ZONE> --metadata=serial-port-enable=0