登录 注册
当前位置:主页 > 资源下载 > 31 > Openssh-8.3p1编译安装包.tar.zip下载

Openssh-8.3p1编译安装包.tar.zip下载

  • 更新:2024-08-03 20:00:38
  • 大小:1.62MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:Linux - 操作系统
  • 格式:ZIP

资源介绍

windwos上解压上传服务器 tar xzvf openssh-8.3p1.tar.gz ./configure --prefix=/usr/ --sysconfdir=/etc/ssh/ --with-ssl-dir=/usr/local/ssl --with-md5-passwords --mandir=/usr/share/man/ make && make install echo "PermitRootLogin yes" >> /etc/ssh/sshd_config echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config cp -a contrib/redhat/sshd.init /etc/init.d/sshd /etc/init.d/sshd stop systemctl daemon-reload /etc/init.d/sshd stop systemctl restart sshd ssh -V chmod 400 /etc/ssh/ssh_host_ecdsa_key chmod 400 /etc/ssh/ssh_host_ed25519_key chmod 400 /etc/ssh/ssh_host_rsa_key systemctl restart sshd cat >>/etc/ssh/sshd_config <<-EOF KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1 EOF cp -a contrib/redhat/sshd.init /etc/init.d/sshd systemctl restart sshd