onefifthblueonefifthblue.xyz·Apr 30, 2024配置 Google Compute Engine SSH 登录Google 的 VPS 创建好后,默认是无法通过外部的工具ssh登录的,要使用外部 SSH 工具登录,需要修改ssh的配置。 首先在 VM 实例页面,使用 Google 网页上的 SSH 进行登录 登录后,执行命令 sudo -i 切换到 root 用户 使用 passwd root 命令,设置 root 用户登录密码 修改 /etc/ssh/sshd_config 文件,要修改的两行内容如下 PermitRootLogin yes PasswordAuthentication ...serverAdd a thoughtful commentNo comments yetBe the first to start the conversation.