Zeabur 注册独立服务器
Feb 04, 2026 · 554 字
如果遇到 Failed to init server: failed to get memory: get memory info: copy file to temp: execute ssh command: Process exited with status 1: sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper sudo: a password is required 错误,是因为使用的不是 root 用户,Zeabur 是在非交互环境下配置机器的(无法代为输入密码),所以需要确保用户所在的 sudo 用户组已被授予 NOPASSWD 标记。
sudo visudo
# 添加一行
your_name ALL=(ALL) NOPASSWD: ALL
将 your_name 替换为你的用户名,保存后重新注册服务器即可。