说明:安装脚本:
#!/bin/bash
tar -zxvf openssh8.1.tar.gz
rpm -Uvh *.rpm
cd /etc/ssh/
chmod 400 ssh_host_ecdsa_key ssh_host_ed25519_key ssh_host_rsa_key
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
echo "PasswordAuthentication yes" >> /
<chenyuxi_123> 上传 | 大小:3mb