I am trying to download files from a particular folder from one of my vm's on gcp using the following command
gcloud compute scp --recurse VM_NAME:REMOTE_DIR LOCAL_DIR
After running the command the gcp terminal asks me for a passphrase.
I enter the passphrase and get a message saying
ERROR: (gcloud.compute.scp) [/usr/bin/scp] exited with return code [1].
My qs: How do I change or update the passphrase?
Note: The passphrase was set by running the following command: gcloud auth login
What I have already done?
- Tried restarting and reloading apache2.
- Searched online for the issue using popular search engines.
- The solution mentioned here How do I change my private key passphrase? will not work because it asks for the old passphrase to change it