-
openssh-8.3_centos6_centos7.tar.gz rpm包下载
资源介绍
#!/bin/bash
work_dir=`pwd`
tar -zxvf /$work_dir/openssh-8.3_centos6_centos7.tar.gz
rpm -Uvh *.rpm
chmod 400 /etc/ssh/ssh_host_ecdsa_key
chmod 400 /etc/ssh/ssh_host_ed25519_key
chmod 400 /etc/ssh/ssh_host_rsa_key
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config
systemctl restart sshd
- 上一篇: openssh-5.9.tar.zip
- 下一篇: 升级openssh7.8p所用包.zip