Remediation
From Google Cloud CLI
- Log in to the Google Cloud Console
- Go to Compute Engine
- Go to VM instances
- Click on the Specific VM
- Click
EDIT - Unselect
Enable connecting to serial portsbelowRemote accessblock. - Click
Save
From Google Cloud Console
Use the following 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