📌  相关文章
📜  ssh:连接到主机 165.22.132.219 端口 22:连接被拒绝 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:49.182000             🧑  作者: Mango

代码示例2
Your ISP may block connections to port 22 (nothing you or your router can do about it). Just set SSHd to run on a different port, e.g. 2222.

In /etc/ssh/sshd_config, change Port 22 to Port 2222 and then sudo service ssh restart. Port forward 2222 (or whatever), and try again.