最新公告

×
<body style="font-family: Arial, sans-serif; line-height: 1.6; padding: 20px; max-width: 800px; margin: 0 auto;"> <h2 style="color: #ff0000; font-weight: bold; font-size: 24px;">最新通知</h2> <h2 style="color: #333; padding-bottom: 8px; margin-top: 30px; font-size: 22px;">双十二活动</h2> <ul style="list-style-type: disc; margin-left: 20px; padding-left: 10px;"> <li style="margin-bottom: 10px; color: #e63946; font-weight: bold; font-size: 18px;"> 性价比服务器(续费同价,数量有限,先抢先得): </li> <li style="margin-bottom: 10px;">美国2H2G 特价 月付仅9.9元</li> <li style="margin-bottom: 10px;">深圳4H4G电信线路特价 月付仅19元</li> <li style="margin-bottom: 10px;">香港2H2G CTG线路特价 月付仅15元</li> <li style="margin-bottom: 10px;"> 活动地址:<a href="http://cs.tydidc.cn/actcloud.html" target="_blank" style="color: #0066cc; text-decoration: none;"> 点击跳转到活动页面 </a> </li> </ul> </body>
文档首页> 教程> 修改SSH默认端口

修改SSH默认端口

发布时间:2025-05-12 19:19       

修改方法

输入命令:nano /etc/ssh/sshd_config

例,将端口修改为32873

Port 32873

然后ctrl +x ,退出并保存;提示是否保存,输入y 然后按enter确认

如果你开启了防火墙,还需要修改防火墙规则里面的端口…

最后重启服务器:reboot