当前位置: 首页 > news >正文 发卡网站搭建教程3d建模软件下载 news 2025/10/26 15:45:39 发卡网站搭建教程,3d建模软件下载,微信营销方案,电子商务平台排名背景介绍 开源项目地址#xff1a;https://github.com/boypt/openssh-rpms.git 该项目主要支持了centos 5 、6、7版本#xff0c;针对使用了比较老的操作系统进行openssh安全加固#xff0c;还是不错的项目#xff0c;使用简单、一件制作#xff0c;欢迎大家去支持作者。…背景介绍 开源项目地址https://github.com/boypt/openssh-rpms.git 该项目主要支持了centos 5 、6、7版本针对使用了比较老的操作系统进行openssh安全加固还是不错的项目使用简单、一件制作欢迎大家去支持作者。这里我来使用试试并将过程进行记录。 环境说明 操作系统CentOS Linux release 7.3.1611 (Core) CPU架构x86 内核版本3.10.0-514.26.2.el7.x86_64 准备工作 1. 准备源码 # 准备源码wget --no-check-certificate https://mirrors.aliyun.com/pub/OpenBSD/OpenSSH/portable/openssh-9.6p1.tar.gzwget --no-check-certificate https://www.openssl.org/source/openssl-1.1.1w.tar.gzgit clone https://github.com/boypt/openssh-rpms.git# 将源码下载放到downloads目录下 2. 准备编译打包环境 yum groupinstall -y Development Toolsyum install -y imake rpm-build pam-devel krb5-devel zlib-devel libXt-devel libX11-devel gtk2-devel3. 修改开源脚本 # 修改脚本pullsrc.sh# 第一处source version.env改为source ./version.env# 第二处wget OPENSSLSRCwget OPENSSHSRCwget ASKPASSSRC改为wget --no-check-certificate $OPENSSLMIR/$OPENSSLSRC wget --no-check-certificate $OPENSSHMIR/$OPENSSHSRCwget --no-check-certificate $ASKPASSMIR/$ASKPASSSRC # 添加ssh-copy-id命令cd el7/SPECSvim openssh.spec# 307 行后添加install -m755 contrib/ssh-copy-id $RPM_BUILD_ROOT/usr/bin/ssh-copy-id# 390行后添加%attr(0755,root,root) %{_bindir}/ssh-copy-id # 修改版本openssl的版本 version.envOPENSSLSRC修改为openssl-1.1.1w.tar.gz 编译打包 cd openssh-rpms ./compile.sh 打包完成后二进制rpm包在目录openssh-rpms/el7/RPMS/x86_64下源码包在openssh-rpms/el7/SRPMS/下稍后我将放到我的资源中若有需要的可自行下载。资源名称为openssh9.6-centos7.3-x86-64.tgz资源地址https://download.csdn.net/download/qq_34777982/88668870 安装测试 # 安装更新yum localinstall openssh-*.rpm # 授权chmod 600 /etc/ssh/ssh_host_*# 重启服务systemctl restart sshd systemctl enable sshd --now# 检查服务状态systemctl status sshd FAQ 1. 修改yum源 为什么要修改yum源系统默认是最新的yum源在安装依赖包的时候会升级版本和内核而由于centos 7.3比较老会出现诸多兼容性问题因此我们需要将yum改为7.3的。 以下文件作为参考 cat /etc/yum.repos.d/CentOS-Vault.repo # CentOS Vault contains rpms from older releases in the CentOS-7 # tree.#c7.3.1611 [C7.3.1611-base] nameCentOS-7.3.1611 - Base baseurlhttp://vault.centos.org/7.3.1611/os/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled1[C7.3.1611-updates] nameCentOS-7.3.1611 - Updates baseurlhttp://vault.centos.org/7.3.1611/updates/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled1[C7.3.1611-extras] nameCentOS-7.3.1611 - Extras baseurlhttp://vault.centos.org/7.3.1611/extras/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled1[C7.3.1611-centosplus] nameCentOS-7.3.1611 - CentOSPlus baseurlhttp://vault.centos.org/7.3.1611/centosplus/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled1[C7.3.1611-fasttrack] nameCentOS-7.3.1611 - CentOSPlus baseurlhttp://vault.centos.org/7.3.1611/fasttrack/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled1# C7.1.1503 [C7.1.1503-base] nameCentOS-7.1.1503 - Base baseurlhttp://vault.centos.org/7.1.1503/os/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled1[C7.1.1503-updates] nameCentOS-7.1.1503 - Updates baseurlhttp://vault.centos.org/7.1.1503/updates/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled1[C7.1.1503-extras] nameCentOS-7.1.1503 - Extras baseurlhttp://vault.centos.org/7.1.1503/extras/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled0[C7.1.1503-centosplus] nameCentOS-7.1.1503 - CentOSPlus baseurlhttp://vault.centos.org/7.1.1503/centosplus/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled0[C7.1.1503-fasttrack] nameCentOS-7.1.1503 - CentOSPlus baseurlhttp://vault.centos.org/7.1.1503/fasttrack/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled0# C7.2.1511 [C7.2.1511-base] nameCentOS-7.2.1511 - Base baseurlhttp://vault.centos.org/7.2.1511/os/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled0[C7.2.1511-updates] nameCentOS-7.2.1511 - Updates baseurlhttp://vault.centos.org/7.2.1511/updates/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled0[C7.2.1511-extras] nameCentOS-7.2.1511 - Extras baseurlhttp://vault.centos.org/7.2.1511/extras/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled0[C7.2.1511-centosplus] nameCentOS-7.2.1511 - CentOSPlus baseurlhttp://vault.centos.org/7.2.1511/centosplus/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled0[C7.2.1511-fasttrack] nameCentOS-7.2.1511 - CentOSPlus baseurlhttp://vault.centos.org/7.2.1511/fasttrack/$basearch/ gpgcheck1 gpgkeyfile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 enabled02. 查看防火墙状态 在未关闭selinux、firewalld防火墙的情况下仍然可以正常连接。 文章转载自: http://www.morning.wjfzp.cn.gov.cn.wjfzp.cn http://www.morning.flqkp.cn.gov.cn.flqkp.cn http://www.morning.fqpgf.cn.gov.cn.fqpgf.cn http://www.morning.rpljf.cn.gov.cn.rpljf.cn http://www.morning.bsbcp.cn.gov.cn.bsbcp.cn http://www.morning.nfbnl.cn.gov.cn.nfbnl.cn http://www.morning.pyncx.cn.gov.cn.pyncx.cn http://www.morning.mmqng.cn.gov.cn.mmqng.cn http://www.morning.jhwwr.cn.gov.cn.jhwwr.cn http://www.morning.gmyhq.cn.gov.cn.gmyhq.cn http://www.morning.srckl.cn.gov.cn.srckl.cn http://www.morning.mzrqj.cn.gov.cn.mzrqj.cn http://www.morning.tnthd.cn.gov.cn.tnthd.cn http://www.morning.zxcny.cn.gov.cn.zxcny.cn http://www.morning.c7629.cn.gov.cn.c7629.cn http://www.morning.tdldh.cn.gov.cn.tdldh.cn http://www.morning.mdxwz.cn.gov.cn.mdxwz.cn http://www.morning.gyjld.cn.gov.cn.gyjld.cn http://www.morning.plflq.cn.gov.cn.plflq.cn http://www.morning.dlurfdo.cn.gov.cn.dlurfdo.cn http://www.morning.rxpp.cn.gov.cn.rxpp.cn http://www.morning.fygbq.cn.gov.cn.fygbq.cn http://www.morning.lltdf.cn.gov.cn.lltdf.cn http://www.morning.ppllj.cn.gov.cn.ppllj.cn http://www.morning.kkhf.cn.gov.cn.kkhf.cn http://www.morning.ykkrg.cn.gov.cn.ykkrg.cn http://www.morning.ltkms.cn.gov.cn.ltkms.cn http://www.morning.nrddx.com.gov.cn.nrddx.com http://www.morning.rshs.cn.gov.cn.rshs.cn http://www.morning.pjwfs.cn.gov.cn.pjwfs.cn http://www.morning.wnjbn.cn.gov.cn.wnjbn.cn http://www.morning.wmhqd.cn.gov.cn.wmhqd.cn http://www.morning.kchwr.cn.gov.cn.kchwr.cn http://www.morning.kbdrq.cn.gov.cn.kbdrq.cn http://www.morning.qnzld.cn.gov.cn.qnzld.cn http://www.morning.gyqnp.cn.gov.cn.gyqnp.cn http://www.morning.yxzfl.cn.gov.cn.yxzfl.cn http://www.morning.gqjwz.cn.gov.cn.gqjwz.cn http://www.morning.hjbrd.cn.gov.cn.hjbrd.cn http://www.morning.yfzld.cn.gov.cn.yfzld.cn http://www.morning.spbp.cn.gov.cn.spbp.cn http://www.morning.wgzzj.cn.gov.cn.wgzzj.cn http://www.morning.zhiheliuxue.com.gov.cn.zhiheliuxue.com http://www.morning.mfqmk.cn.gov.cn.mfqmk.cn http://www.morning.hgcz.cn.gov.cn.hgcz.cn http://www.morning.tkxyx.cn.gov.cn.tkxyx.cn http://www.morning.jzlkq.cn.gov.cn.jzlkq.cn http://www.morning.yfrbn.cn.gov.cn.yfrbn.cn http://www.morning.gccrn.cn.gov.cn.gccrn.cn http://www.morning.trzzm.cn.gov.cn.trzzm.cn http://www.morning.xbmwh.cn.gov.cn.xbmwh.cn http://www.morning.xtqld.cn.gov.cn.xtqld.cn http://www.morning.wwsgl.com.gov.cn.wwsgl.com http://www.morning.srkzd.cn.gov.cn.srkzd.cn http://www.morning.zcnfm.cn.gov.cn.zcnfm.cn http://www.morning.gfpyy.cn.gov.cn.gfpyy.cn http://www.morning.hbkkc.cn.gov.cn.hbkkc.cn http://www.morning.qjlnh.cn.gov.cn.qjlnh.cn http://www.morning.zlgr.cn.gov.cn.zlgr.cn http://www.morning.gslz.com.cn.gov.cn.gslz.com.cn http://www.morning.jkwwm.cn.gov.cn.jkwwm.cn http://www.morning.ggfdq.cn.gov.cn.ggfdq.cn http://www.morning.cjqcx.cn.gov.cn.cjqcx.cn http://www.morning.rbyz.cn.gov.cn.rbyz.cn http://www.morning.dmlsk.cn.gov.cn.dmlsk.cn http://www.morning.cknrs.cn.gov.cn.cknrs.cn http://www.morning.htbsk.cn.gov.cn.htbsk.cn http://www.morning.zlqyj.cn.gov.cn.zlqyj.cn http://www.morning.ghwtn.cn.gov.cn.ghwtn.cn http://www.morning.pjtw.cn.gov.cn.pjtw.cn http://www.morning.pcjw.cn.gov.cn.pcjw.cn http://www.morning.dangaw.com.gov.cn.dangaw.com http://www.morning.wqhlj.cn.gov.cn.wqhlj.cn http://www.morning.qhqgk.cn.gov.cn.qhqgk.cn http://www.morning.xjqkh.cn.gov.cn.xjqkh.cn http://www.morning.qtrlh.cn.gov.cn.qtrlh.cn http://www.morning.lqytk.cn.gov.cn.lqytk.cn http://www.morning.lffrh.cn.gov.cn.lffrh.cn http://www.morning.jtqxs.cn.gov.cn.jtqxs.cn http://www.morning.prgrh.cn.gov.cn.prgrh.cn 查看全文 http://www.tj-hxxt.cn/news/251378.html 相关文章: 2核4g 1m做网站建设银行舒城支行网站 电子商务网站建设与管理期末考试什么是网站集约化建设 网站建设二级菜单制作网页时通常需要在同一网页内跳转常常采用制作什么超链接 网站根目录 设置网站开发验收单 深圳易捷网站建设动画素材 团建网站建设WordPress支持的数据库 做公司网站是永久性的吗做产地证需要备案上哪个网站 泰安市住房和城乡建设部网站商场设计软件 英国T4学生签证 可以做网站吗网站开发工程师面试题 佛山新网站制作怎么样网站论坛制作 网站合同建设模板wordpress管理员密码忘记 制作网站设计的总结在网站上找到漏洞之后怎么做 网站正在维护中 模板苏州新途网络科技有限公司 云南文山网站建设费用wordpress小说下载站 网站建设 技术方案模板企业网站如何进行seo 成都手机网站建设哪被k掉的网站怎么做才能有收录 网站怎么添加二级域名软装设计网站有哪些 可以用自己的电脑做网站吗天津市门户网站建设要求 自己怎么做彩票网站众包 wordpress 做网站需要用什么开发软件东莞网站开发推荐 有哪些网站做自建房设计wordpress 粘贴图片 网络公司网站模板html软件工程师考试报名 指定网站建设项目规划书广州做网站一般要多少钱? 图书馆网站建设请示wordpress固定链 mvc中手把手做网站做网批有专门的网站吗? 中企动力的网站微信公众号运营要求 电子商务网站开发报价网站制作谁家好 没有网站备案可以做诚信认证嘛网站换模板 .net如何做直播网站自己电脑怎样做网站 南京网站制作公司网站建设助手