已詢問過 zeabur AI 他建議找官方
error_message:
Error: Internal Server Error
Code: INTERNAL_SERVER_ERROR
Trace ID: 8df2b194779a7576a0b92ddbb1050d21
- AWS Lightsail 伺服器("My instance")
- 伺服器 IP:15.134.56.47 (static)
- 作業系統:Ubuntu 24.04 LTS x86_64
- 需要 Zeabur Agent 的安裝命令或指南
- 官方安裝腳本返回 404 錯誤
自我排查: .pem 私鑰格式未出錯, 22 接口有開放, light sail cat ~/.ssh/authorized_keys中有 LightsailDefaultKeyPair
以下是一些我在 My instance 的一些debug command
- AWS 伺服器 log
sudo tail -f /var/log/auth.log
2026-03-05T22:28:41.568140+00:00 ip-172-26-10-130 systemd-logind[559]: Session 7817 logged out. Waiting for processes to exit.
2026-03-05T22:28:41.569617+00:00 ip-172-26-10-130 systemd-logind[559]: Removed session 7817.
2026-03-05T22:28:46.631575+00:00 ip-172-26-10-130 sshd[270203]: Accepted publickey for ubuntu from 192.81.135.223 port 49344 ssh2: RSA SHA256:3JdnOjzKOIxTNR5P9bcU40RgkXB6L8us9mxMAnCSqJ0
2026-03-05T22:28:46.633699+00:00 ip-172-26-10-130 sshd[270203]: pam_unix(sshd:session): session opened for user ubuntu(uid=1000) by ubuntu(uid=0)
2026-03-05T22:28:46.638643+00:00 ip-172-26-10-130 systemd-logind[559]: New session 7818 of user ubuntu.
2026-03-05T22:28:46.777120+00:00 ip-172-26-10-130 sshd[270203]: pam_unix(sshd:session): session closed for user ubuntu
2026-03-05T22:28:46.782033+00:00 ip-172-26-10-130 systemd-logind[559]: Session 7818 logged out. Waiting for processes to exit.
2026-03-05T22:28:46.783522+00:00 ip-172-26-10-130 systemd-logind[559]: Removed session 7818.
2026-03-05T22:29:36.258134+00:00 ip-172-26-10-130 sudo: ubuntu : TTY=pts/0 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/usr/bin/tail -f /var/log/auth.log
2026-03-05T22:29:36.261810+00:00 ip-172-26-10-130 sudo: pam_unix(sudo:session): session opened for user root(uid=0) by ubuntu(uid=1000)
- SSH status 可以看到應該是有 accept
sudo systemctl status ssh
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/usr/lib/systemd/system/ssh.service; disabled; preset: enabled)
Drop-In: /usr/lib/systemd/system/ssh.service.d
└─ec2-instance-connect.conf
Active: active (running) since Wed 2026-02-04 06:53:37 UTC; 4 weeks 1 day ago
TriggeredBy: ● ssh.socket
Docs: man:sshd(8)
man:sshd_config(5)
Main PID: 52896 (sshd)
Mar 05 22:14:08 ip-172-26-10-130 sshd[268108]: pam_unix(sshd:session): session opened for user ubuntu(uid=1000) by ubuntu(uid=0)
Mar 05 22:14:09 ip-172-26-10-130 sshd[268171]: Accepted publickey for ubuntu from 54.240.194.227 port 61872 ssh2: ECDSA-CERT SHA256:7Q>
Mar 05 22:14:09 ip-172-26-10-130 sshd[268171]: pam_unix(sshd:session): session opened for user ubuntu(uid=1000) by ubuntu(uid=0)
Mar 05 22:14:10 ip-172-26-10-130 sshd[268230]: Accepted publickey for ubuntu from 192.81.135.223 port 51200 ssh2: RSA SHA256:3JdnOjzKO>
Mar 05 22:14:10 ip-172-26-10-130 sshd[268230]: pam_unix(sshd:session): session opened for user ubuntu(uid=1000) by ubuntu(uid=0)
Mar 05 22:14:10 ip-172-26-10-130 sshd[268230]: pam_unix(sshd:session): session closed for user ubuntu
Mar 05 22:15:11 ip-172-26-10-130 sshd[268309]: Accepted publickey for ubuntu from 54.240.194.223 port 16069 ssh2: ECDSA-CERT SHA256:5n>
ubuntu@ip-172-26-10-130:~$ ps aux | grep zeabur
ubuntu 271844 0.0 0.1 7076 2232 pts/0 S+ 22:38 0:00 grep --color=auto zeabur