Steps:
- Get to your VM instance page (https://console.cloud.google.com/compute/instances)
- Click on the SSH dropdown
- Enter the following commands
~$ cd /var/www/html
/var/www/html$ wp user update [username] –user_pass=[new_password]
Here’s an example if your user name was “admin” and you wanted the password to be “new_pass” you would enter the following after navigating to the right directory.
wp user update admin –user_pass=new_pass
Here’s the SSH button if you don’t know where to find it