我试图分离临时实例上的磁盘,以便我可以挂载和编辑ssh_config,但是当我使用gcloud compute instances detach-disk INSTANCE --disk mydisk
时,它显示
ERROR: (gcloud.compute.instances.detach-disk) There was a problem fetching the resource:
- Insufficient Permission
有什么建议吗?我是Google Cloud的新手
最佳答案
您需要先授权您的帐户,然后才能使用gcloud命令。您可以运行以下命令进行授权。
$ gcloud auth login
关于ssh - 从GCE VM分离磁盘以安装和编辑SSH,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31313334/