Code Monkey home page Code Monkey logo

openssh-rpms's Introduction

openssh-rpms

您可以通过本项目中提供的 RPM 软件安装包,为您的Linux操作系统轻松的安装或升级到最新版本的 OpenSSH。

OpenSSH 是一个免费的 SSH 连接工具,广泛用于安全的远程登录和文件传输。本项目提供了RPM包的形式对OpenSSH进行升级,以确保您使用的是最新版本。

特性

  • 提供 RPM 包升级到最新版本的 OpenSSH
  • 您也可以下载源码包,用这里的脚本自行编译 RPM(脚本并未提供 wget 获取源码包的功能)
  • 首次使用这里的SSH RPM 包,需要在这里下载配套的OpenSSL一同安装
  • 在这里下载的OpenSSL-3.3.1,理论上可以支持后续升级好多个在这里下载的OpenSSH版本
  • 支持 x64 架构下的 CentOS 7/8、AlmaLinux 8、RockyLinux 8、AnolisOS 8、Kylin-V10

安装(以CentOS7为例)

Release 下载合适的版本

#解压
tar zxvf openssl-3.3.1-rpms-el7-x64.tar.gz
tar zxvf openssh-9.8p1-rpms-el7-x64.tar.gz
#安装OpenSSL
rpm -ivh --nodeps --force openssl-3.3.1*/openssl-{3,d}*.rpm #只装了openssl和openssl-devel,libs自己看着来,悠着点
#卸载旧版本
yum remove openssh* -y
#安装新版本
yum install -y openssh-9.8p1*/openssh*
#开启root登录
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
#600权限,不执行有小概率sshd起不来
chmod 600 /etc/ssh/ssh_host_*_key
#重启sshd服务
systemctl restart sshd

不要关闭旧的SSH窗口,新开一个SSH,能打开,平稳落地

使用

安装完成后,您可以使用以下命令启动 OpenSSH 服务:

systemctl start sshd
systemctl enable sshd

免责声明

本项目提供的 OpenSSH RPM 包仅供学习和研究使用。生产环境使用本项目中的任何内容进行实际操作时,请务必谨慎,并自行承担相关风险。

  1. 风险提示:OpenSSH 升级涉及系统关键组件的更改,可能会导致系统不稳定或服务中断。在进行升级前,请确保已备份所有重要数据,并在测试环境中充分验证升级过程。

  2. 责任声明:本项目的维护者和贡献者不对因使用本项目内容而导致的任何直接或间接损失负责。用户在使用本项目时,应自行评估相关风险,并对自己的操作负责。

  3. 支持与维护:本项目为开源项目,维护者和贡献者将尽力提供支持和更新,但不保证项目的持续维护和问题修复。用户在使用过程中遇到问题,可以通过提交 issue 或 pull request 的方式与维护者进行交流。

  4. 法律合规:用户在使用本项目时,应遵守所在国家和地区的法律法规。任何因违反法律法规而导致的后果,由用户自行承担。

通过使用本项目,您即表示已阅读并同意上述免责声明条款。如果您不同意这些条款,请勿使用本项目。

感谢您的理解与支持!

openssh-rpms's People

Contributors

nugent1a avatar

Stargazers

Coffee avatar  avatar  avatar mzhe24 avatar

Watchers

 avatar

openssh-rpms's Issues

安全性无法保证

你的编译过程和编译脚本都没有展示,光有RPMs包确实不敢用啊。大哥。能提供不?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.