运行SSH连接命令时连接超时

按照此处 https://meta.discourse.org/t/install-discourse-in-production-with-the-official-supported-instructions/142537 仓库中的步骤,我尝试运行 SSH 连接命令,但它显示:“ssh: connect to host 192.168.1.1 port 22: Connection timed out”。有什么想法吗?

如果我是在 Pi 上运行 SSH 命令,是否仍然需要运行它?

你能在树莓派上安装 tmux 或 screen 吗?我以前用 tmux 处理过连接超时问题,但没用过 screen。你不必成为 tmux 超级用户才能使用它:Getting Started · tmux/tmux Wiki · GitHub

嗯,我跳过了它,到目前为止没有任何错误。我现在处于电子邮件阶段,似乎没有任何错误消息。

1 个赞

如果您在树莓派上,则无需SSH。只有当您从另一台计算机远程登录树莓派时,才需要它。

本指南针对VPS安装,在通常情况下您一定是远程登录。

3 个赞

好的。感谢您的解释!

1 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.