【发布时间】:2021-05-25 02:19:09
【问题描述】:
我暂停并更改了 cpu 以提高计算引擎的性能(ubuntu 18.04)。
但是,设置后执行后,在控制台、vs代码中根本无法进行ssh连接。
尝试ssh连接时,gcp串口的日志如下。
May 25 02:07:52 nt-ddp-jpc GCEGuestAgent[1244]: 2021-05-25T02:07:52.4696Z GCEGuestAgent Info: Adding existing user root to google-sudoers group.
May 25 02:07:52 nt-ddp-jpc GCEGuestAgent[1244]: 2021-05-25T02:07:52.4730Z GCEGuestAgent Error non_windows_accounts.go:152: gpasswd: /etc/group.1540: No space left on device# 012gpasswd: cannot lock /etc/group; try again later.#012.
另外,当我在 vs 代码中尝试 ssh 时,出现权限被拒绝错误。
问题的具体原因和解决方法是什么?
感谢您一直以来的帮助。
【问题讨论】:
-
您的虚拟机已用完可用磁盘空间。关闭 VM,调整启动磁盘大小并重新启动。
标签: google-cloud-platform ssh google-compute-engine