Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upgrade suse11 openssh to 8.0

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to upgrade suse11 openssh to 8.0, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

SUSE 11 upgrade Openssh

Openssh official website download address: http://www.openssh.com/ openssh 8.0 released in 20190418

1. View the current ssh version

Ora-dbtest:~ # ssh-V

OpenSSH_6.6.1p1, OpenSSL 0.9.8j-fips 07 Jan 2009

S11RV ~ # cat / etc/SuSE-release

SUSE Linux Enterprise Server 11 (x86 / 64)

VERSION = 11

PATCHLEVEL = 3

S11RV ~ # ssh-V

OpenSSH_6.2p2, OpenSSL 0.9.8j-fips 07 Jan 2009

two。 Put the installation packages required for installation into / opt/openssh

Root user execution

Mkdir / opt/openssh

Cd / opt/openssh/

Contains the following packages:

Openssh-8.0p1.tar.gz openssl-1.1.1b.tar.gz zlib-1.2.11.tar.gz

3. Install zlib

Execute under root

Tar zxvf zlib-1.2.11.tar.gz

Cd zlib-1.2.11/

. / configure-- shared

Make

Make install

4. Install openssl

View the current version: 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. Install 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

This is the answer to the question about how to upgrade suse11 openssh to 8.0. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report