suse11 openssh 升級到8.0
SUSE 11 升級Openssh
openssh 官網下載地址: openssh 8.0 釋出於20190418
1.檢視當前ssh 版本
ora-dbtest:~ #ssh -V
OpenSSH_6.6.1p1, OpenSSL 0.9.8j-fips 07 Jan 2009
s11:~ # cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
s11:~ # ssh -V
OpenSSH_6.2p2, OpenSSL 0.9.8j-fips 07 Jan 2009
2.將安裝所需的安裝包放入/opt/openssh
root使用者執行
mkdir /opt/openssh
cd /opt/openssh/
包含如下包:
openssh-8.0p1.tar.gz openssl-1.1.1b.tar.gz zlib-1.2.11.tar.gz
3.安裝 zlib
root下執行
tar zxvf zlib-1.2.11.tar.gz
cd zlib-1.2.11/
./configure --shared
make
make install
4.安裝openssl
檢視當前版本:openssl version -a
tar zxvf openssl-1.1.1b.tar.gz
tar zxvf openssl-1.0.2n.tar.gz
cd openssl-1.0.2n/
./config shared
make
make install
mv /usr/bin/openssl /usr/bin/openssl.old
ln -s /usr/local/bin/openssl /usr/bin/openssl
ln -s /usr/local/include/openssl /usr/include/openssl
echo "/usr/local/ssl/lib" >> /etc/ld.so.conf
ldconfig |grep openssl
/sbin/ldconfig -v
openssl version -a
5.安裝openssh
tar zxvf openssh-8.0p1.tar.gz
cd openssh-8.0p1/
./configure --prefix=/usr/ --sysconfdir=/etc/ssh -with-zlib -with-ssl-dir=/usr/local/ssl -with-md5-passwords mandir=/usr/share/man
make
make install
cp -p contrib/suse/rc.sshd /etc/init.d/sshd
chmod +x /etc/init.d/sshd
chkconfig --add sshd
cp sshd_config /etc/ssh/
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
mv /usr/sbin/sshd{,.old}
mv /usr/bin/ssh{,.old}
cp sshd /usr/sbin/sshd
cp ssh /usr/bin/ssh
/etc/init.d/sshd restart
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29519108/viewspace-2646257/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux openssh升級8.0Linux
- Centos升級到openssh9.7CentOS
- OpenSSH升級(從OpenSSH_7.4p1升級到OpenSSH_8.4p1) [操作指令碼]指令碼
- RHEL6_CentOS6_Openssh8.0p1升級CentOS
- redhat系統升級openssh到7.5Redhat
- MySQL 5.7 升級到 8.0MySql
- Centos7 升級openssh到最高版本CentOS
- aix升級opensshAI
- Ubuntu升級opensshUbuntu
- CentOS6.9下升級預設的OpenSSH操作記錄(升級到OpenSSH_7.6p1)CentOS
- 升級openssh7.9
- Centos7 openssh升級到7.9p1CentOS
- centos6.5中openssh從5.3升級到7.3CentOS
- 原始碼升級SUSE openssh原始碼
- Centos6.5 離線 Openssh 升級CentOS
- GitHub是怎樣把MySQL 5.7升級到8.0的?GithubMySql
- 不可不知的 MySQL 升級利器及 5.7 升級到 8.0 的注意事項MySql
- openssh 漏洞修復 openssl升級 OpenSSH_9.8p1麒麟系統
- Ubuntu16.04升級openssh-9.8p1Ubuntu
- Ctyun系統升級OpenSSH 9.3詳細教程
- RockyLinux8伺服器升級openssh9.9Linux伺服器
- Centos7 升級至openssh-9.8p1CentOS
- Openssh-7.9p1升級+系統調優
- Centos 7 升級通過 yum 安裝的 MySQL 5.7 到 MySQL 8.0CentOSMySql
- redhat 7.4從openssh7.6離線升級openssh8.4p1解決方法Redhat
- oraclelinux9.2內網升級OpenSSH9.8p1OracleLinux內網
- openSSH升級公鑰失效Permission denied (publickey)解決方案
- 升級openssh前安裝zlib報異常configure aborting
- Openssh 8.4p1及Openssl 1.1.1h升級
- 專案升級到.Net8.0 Autofac引發詭異的問題
- 升級MySQL8.0的歷險記MySql
- openssh升級7.4p1至8.4p1、openssl升級至openssl-1.1.1h
- Centos 7.4系統升級OpenSSH 8.4p1服務CentOS
- oracle 10 rac 升級 10.2.0.1升級到10.2.0.5Oracle
- 記一次在openEuler系統下離線編譯升級到openssh9.8p1編譯
- RHEL7X_CentOS7X_升級Openssh7.6p1CentOS
- ccproject升級到1135Project
- mongodb單機從3.2升級到4.0.4升級MongoDB