yum install bash-completion lrzsz unzip wget vim* -y
systemctl disable firewalld
systemctl stop firewald
sed -i 's/^#DNS yes/UseDNS no/g' /etc/ssh/sshd_config
sed -i 's/^GSSAPIAuthentication yes/GSSAPIAuthentication no/g' /etc/ssh/sshd_config
systemctl restart sshd.service
转载于:https://www.cnblogs.com/sunshinea121/p/10649156.html