openssh升级步骤

1下载openssh最新版本

2 configure

./configure --prefix= /ssh先配置一下

再在本地安装。

make &makeinstall

3 按照/ssh包含内容从本地相应目录拷贝文件到新建目录upssh中

4 编写shell文件,拷贝。

service sshd stop

cp ./etc/ssh/* /etc/ssh/

cp ./usr/bin/ssh* /usr/bin/

cp ./usr/bin/scp /usr/bin/

cp ./usr/bin/sftp /usr/bin/

cp ./usr/bin/slogin /usr/bin/

mkdir -p /usr/include/openssl/

cp -rf ./usr/include/openssl/* /usr/include/openssl/

mkdir -p /usr/libexec/

cp -rf ./usr/libexec/sftp-server /usr/libexec/

cp -rf ./usr/libexec/ssh-keysign /usr/libexec/

cp -rf ./usr/libexec/ssh-pkcs11-helper /usr/libexec/

cp ./usr/sbin/sshd /usr/sbin/

cp ./libcrypto.so.1.0.0 /usr/lib/

cp ./usr/local/etc/* /usr/local/etc/

service sshd start

时间: 2024-08-04 13:28:43

openssh升级步骤的相关文章

HP Unix openssl、openssh 升级

一.升级前请先启用telnet服务!防止远程ssh连接断开后无法连到服务器上. 二.准备好下面的5个包,这几个包是升级openssh和openssl所依赖的. 下面的包的官网下载地址是http://hpux.connect.org.uk/hppd/packages_popular.html gettext-0.19.8.1-ia64-11.31.depot.gz  libiconv-1.14-ia64-11.31.depot.gz openssh-7.4p1-ia64-11.31.depot.g

Centos6/Centos5下openssh升级到openssh-7.5p1

近日,国家信息安全漏洞共享平台(CNVD)收录了OpenSSH的多个漏洞(CNVD-2016-12688.CNVD-2016-12687.CNVD-2016-12686.CNVD-2016-12684,对应CVE-2016-10009.CVE-2016-10010.CVE-2016-10011.CVE-2016-10012).综合利用上述漏洞,攻击者可执行任意代码,提升权限至root权限,获取本地敏感信息泄露,绕过某些安全限制执行未经授权的操作. 目前厂商已经发布了升级补丁以修复这个安全问题,请

centos 6.7 openssh 升级到openssh 7.1p

openssh 升级主要解决: OpenSSH(OpenBSD Secure Shell)是OpenBSD计划组所维护的一套用于安全访问远程计算机的连接工具.该工具是SSH协议的开源实现,支持对所有的传输进行加密,可有效阻止窃听.连接劫持以及其他网络级的攻击.OpenSSH 6.8版本和6.9版本的sshd中存在安全漏洞,该漏洞源于程序为TTY设备分配全局可写权限.本地攻击者可通过写入设备利用该漏洞造成拒绝服务(终端中断). openssh 简介: 1.OpenSSH 是SSH(Secure S

MTK MOTA升级步骤

MOTA的前提是有自己的服务器,MTK已经做好了的,可以向MTK申请,然后移到自己的服务器上来. 1.打开ProjectConfig.mk中的MTK_SYSTEM_UPDATE_SUPPORT宏,修改IP地址mediatek\packages\apps\SystemUpdate\res\values\address.xml中的所以IP地址改为自己的服务器地址 2.如果要把升级关键字改为版本号,那么需要改2个文件 SystemUpdateReceiver.java //String strCurr

openssh 升级

CentOS 6.5升级openssh至7.2p2 一.环境描述 1)操作系统:CentOS 6.5 64位 2)Openssh升级前版本:openssh-5.3p1-94.el6:Openssh升级后版本:openssh_7.2p2(源码安装) 3)连接工具xshell 4.要预防超时断开连接. 二.升级sshd到OpenSSH-7.2并删除老版本ssh 1)升级前准备 下载openssh-7.2p2.tar.gz http://ftp.hostserver.de/pub/OpenBSD/Op

思科VSS License升级步骤

思科VSS License升级步骤:1.关闭standby所有非VSL端口int range gigabitethernet 2/2/1 - 12shint range gigabitethernet 2/3/1 - 12sh 2.在active上安装license:license install bootflash:SPE16220060_201309210212042440.lic 3.在active上关闭VSL端口int ra Tengigabitethernet 1/1/2 - 4sh

elasticsearch升级步骤

ES从1.2.1升级到1.4.0 升级步骤,基本上是按照官网的叙述来完成的,链接是:http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-upgrade.html#_1_0_and_later,参考的内容如下: 1.0 and lateredit To back up a running 1.0 or later system, it is simplest to use the snapshot

mongo - 升级步骤

升级步骤1. 关闭balancer登陆mongos,执行sh.stopBalancer(),或者 连接到mongos>use config>db.settings.update( { _id: "balancer" }, { $set : { stopped: true } } , true ); 关闭balancer后,需检查是否还有migretion:If a migration is in progress, the system will complete the

openssh升级到7.4p1

openssh升级背景由于第×××司检测到服务Openssh有高危漏洞,需要对Openssh进行升级 1.编译安装 tar -zxf openssh-7.4p1.tar.gz cd openssh-7.4p1 ./configure --prefix=/usr/local/openssh7.4/ --with-md5-passwords --with-pam --with-zlib --with-privsep-path=/var/lib/sshd make && make install