Debian/Ubuntu SSH端口一键修改脚本 修改默认端口 避免暴力破解

92次阅读
没有评论

共计 269 个字符,预计需要花费 1 分钟才能阅读完成。

Debian 6+ / Ubuntu 14.04 +

因为 CentOS 7 有些不一样,我对 CentOS 系统也不了解,所以为了不出问题就不支持 CentOS系统了。

脚本版本

Ver: 1.0.0

安装步骤

执行下面的代码下载并运行脚本。

  1. wget N nocheckcertificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/ssh_port.sh && chmod +x ssh_port.sh && bash ssh_port.sh

运行脚本后会出现如下内容,按提示修改即可。

 

正文完
 
admin
版权声明:本站原创文章,由 admin 2019-11-26发表,共计269字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)
验证码