我运行 gcloud auth activate-service-account --key-file=pathtokey
然后我运行:
gcloud compute scp sdfsdfsdfsdf.txt myinst:/tmp --zone us-east1-b
我遇到了这个错误:
WARNING: The PuTTY PPK SSH key file for gcloud does not exist.
WARNING: The public SSH key file for gcloud does not exist.
WARNING: The private SSH key file for gcloud does not exist.
WARNING: You do not have an SSH key for gcloud.
WARNING: SSH keygen will be executed to generate a key.
open C:\Windows\system32\config\systemprofile\.ssh\google_compute_engine: The system cannot find the path specified.
我不明白为什么需要访问 .ssh,我已经提供了密钥的路径。