In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Server unexpectedly closed network connection
After restarting the server effect is the same, after a period of time after connecting, finally connected to the remote. After creating a new remote connection, the discovery is still prompted:
Server unexpectedly closed network connection
Baidu and Google searched for a while, modified sshd_config, the effect is the same.
And then look at it.
[root@localhost log]# tail -F /var/log/secure //view login log file
Found a problem, a lot of IP has been brute force cracking, login information has been swiping the screen
[root@localhost log]# vim /etc/ssh/sshd_config //modify port to 3330
[root@localhost log]# iptables -I INPUT -p tcp --dport 3330 -j ACCEPT //Add firewall port 3330 Allow
[root@localhost log]# service iptables save //save rules
[root@localhost log]# /etc/init.d/sshd restart //restart sshd
[root@localhost log]# tail -F /var/log/secure //view log again There is no login log and swipe the screen again
Remote login, normal.
Reading journals is important. It's important.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.