
我正在銷毀 VPS 上 /etc/ssh/ 中的預設 sshd_config 文件,並將其恢復為預設檔。之後,我嘗試連接同一個 VPS 上的 TS3 伺服器。作業系統說我 TS 已開啟,一切都很好,但...不...:(
[root@vps75870 ~]# service teamspeak restart
Stopping the TeamSpeak 3 server..done
Starting the TeamSpeak 3 server
TeamSpeak 3 server started, for details please view the log file
[root@vps75870 ~]# service teamspeak status
Server is running .
當我嘗試連接它時,我收到: <21:34:29> 無法連接到伺服器。我沒有編輯任何連接埠等。
有什麼建議嗎?
答案1
您在 sshd_config 中所做的變更不應影響 TeamPass。您看到的問題是其他原因造成的,除非您使用 SSH 隧道連線到 TeamServer。
無論如何,您可以嘗試的一件事是在 sshd_config 中啟用以下設定:
AllowAgentForwarding yes
AllowTcpForwarding yes
X11Forwarding yes
看看是否有幫助。應用更改後不要忘記重新啟動 ssh。