嗨 Zeabur 支援團隊,
我在為新使用者設定 SSH 金鑰時,可能不小心弄亂了 /etc/ssh/sshd_config 或 /root 的權限。現在我無法透過 Mac/cmux 連線到我的伺服器,而 Web SSH 控制台也一直顯示「Connection lost. Reconnecting…」並陷入無限迴圈。
請問可以協助我將 sshd_config 還原為預設值(或重新啟用 PasswordAuthentication)並重啟 sshd 服務嗎?
嗨 Zeabur 支援團隊,
我在為新使用者設定 SSH 金鑰時,可能不小心弄亂了 /etc/ssh/sshd_config 或 /root 的權限。現在我無法透過 Mac/cmux 連線到我的伺服器,而 Web SSH 控制台也一直顯示「Connection lost. Reconnecting…」並陷入無限迴圈。
請問可以協助我將 sshd_config 還原為預設值(或重新啟用 PasswordAuthentication)並重啟 sshd 服務嗎?