I totally understand that, but if the "Main Quest" is to patch the OpenSSH (SSHD) service, then this is the only way. We know VMware will take ages to patch this package.
If security is the priority, then my solution/test is the way to go.
I took a full file backup and a Snapshot of the vCenter before I made any changes.
I took notes of all the steps, which gives me the opportunity to rollback OpenSSH if needed. The old version wasn't removed; it's just that the SSHd service now points to 9.9p2. If, by any chance, the old SSHd goes up, it will use port 2222 and avoid any conflict down the road.
So far no issues at all as I just replaced old sshd.service 9.x to sshd.service 9.9p2
I don't see any harmful impact on my home lab so far.
Original Message:
Sent: Apr 02, 2025 07:25 AM
From: roadgeek
Subject: How do i upgrade OPENSSH in esxi 7.0.3p from 8.8 tp 9.7 ????
This is such an incredibly bad idea, but I applaud your persistence in accomplishing it!
Original Message:
Sent: Apr 01, 2025 04:35 PM
From: Daniel Scasso
Subject: How do i upgrade OPENSSH in esxi 7.0.3p from 8.8 tp 9.7 ????
tdnf install libssl-dev gcc g++ gdb cpp make cmake libtool libc6 autoconf automake pkg-config build-essential gettext
tdnf install libzstd1 zlib1g libssh-4 libssh-dev libssl3 libc6-dev libc6 libcrypt-dev
tdnf install netcat lsof wget diffutils
tdnf install zlib-devel
tdnf install openssl-devel
wget LINK_TO_TAR.gz
tar xvzf xxx.tar.gz
cd folder_from_tar.gz
./configure
make
make install
vi /etc/systemd/system/sshd.service
ADD:
[Unit]
Description=OpenSSH server daemon
After=network.target
[Service]
ExecStart=/usr/local/sbin/sshd -D
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target
sudo vi /etc/ssh/sshd_config
Change Port to 2222
sudo systemctl daemon-reload
sudo systemctl stop ssh.socket
sudo systemctl disable ssh.socket
sudo systemctl stop ssh
sudo systemctl disable ssh
sudo systemctl start sshd
sudo systemctl enable sshd
This worked for me, only issue is that OpenSSH 9.9p2 reports itself as 9.9 so Nessus will still complain on the Scan until they make 10.x versions or fix the issue of SSH not reporting the p2 part of the version.
Original Message:
Sent: May 09, 2024 01:50 PM
From: rr rra
Subject: How do i upgrade OPENSSH in esxi 7.0.3p from 8.8 tp 9.7 ????
How do i upgrade OPENSSH in esxi 7.0.3p from 8.8 tp 9.7 ????