[C:\~]$ telnet 192.168.68.129
Connecting to 192.168.68.129:23...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Kernel 3.10.0-1127.el7.x86_64 on an x86_64
localhost login: root
Password:
Last login: Wed Nov 219:48:24 from 192.168.68.1
# 进入目录[root@localhost ~]# tar zxf openssl-1.1.1s.tar.gz# 预编译[root@localhost openssl-1.1.1s]# ./config --prefix=/usr/ --openssldir=/usr/ shared
Operating system: x86_64-whatever-linux2
Configuring OpenSSL version 1.1.1s (0x1010113fL)for linux-x86_64
Using os-specific seed configuration
Creating configdata.pm
Creating Makefile
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL file first) ***
*** ***
**********************************************************************
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
编译 && 安装
[root@localhost openssl-1.1.1s]# make && make install
1
验证安装结果
[root@localhost ~]# openssl version
OpenSSL 1.1.1s 1 Nov 2022
# chkconfig --list sshd[root@localhost ~]# chkconfig --list sshd
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Nov 223:22:45 localhost sshd[1895]: error: Could not get shadow information for root
Nov 223:22:45 localhost sshd[1895]: Failed password for root from 192.168.68.1 port 53566 ssh2
Nov 223:22:46 localhost sshd[1895]: error: Received disconnect from 192.168.68.1 port 53566:0: [preauth]
Nov 223:22:46 localhost sshd[1895]: Disconnected from authenticating user root 192.168.68.1 port 53566[preauth]