44

华为公有云linux服务器上ssh登录的安全加固-年轻人,少吐槽,多搬砖

 5 years ago
source link: http://blog.51cto.com/11555417/2140082
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
linux服务器主要是通过ssh进行登录,但是在华为共有云上,如何保证登录安全性呢?本次以centos7为例修改默认端口在linux上,修改ssh登录的默认端口,比如修改到5000vim/etc/ssh/sshd_config在第17行,将注释#删掉,修改为port5000'增加iptables开放端口5000配置iptables#iptables-IINPUT-ptcp-mstate--

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK