升级时,只需使用如下3个包即可
openssh-clients-9.3p1-1.el8.bclinux.x86_64
openssh-9.3p1-1.el8.bclinux.x86_64
openssh-server-9.3p1-1.el8.bclinux.x86_64
升级方法:
备份文件:cp /etc/ssh/sshd_config /etc/ssh/sshd_config.20230508
升级rpm包:dnf install ./*.rpm
修改权限:chmod 0600 /etc/ssh/ssh_host_ed25519_key
重启sshd服务:systemctl restart sshd
1