Restart sshd after making modifications to the configuration file: /etc/init.d/sshd restart Note: If you are running from RAM, ensure you save your settings using the 'lbu ci' command as necessary.
SSH service by OpenSSH is normally provided by the sshd daemon. In most Unix-based operating systems the daemon process can be managed by systemd, System V. Init scripts or the service command. You can use all three methods to manage your SSH server on most platforms. Common options include the ability to start, stop and restart the SSH. Jul 31, 2019 Restart SSH Service Command The command to restart sshd are as follows (you must login as root user). You must run command as per your Linux distribution or Unix variant. CentOS / RHEL / Fedora / Redhat Linux Restart SSH.
Published: 14-07-2015 | Author: Remy van Elst | Text only version of this article
❗ This post is over five years old. It may no longer be up to date. Opinions may have changed.
When you update OpenSSL, the software that currently has the ssl librariesloaded in memory do not automatically load the updated libraries. A full systemreboot resolves that problem, but sometimes that is not possible. This commandshows you all the software that has loaded the libraries, allowing you torestart only those services. If you don't restart or reload after an update, thesoftware might still be vulnerable to issues that the update fixed.
Consider sponsoring me on Github. It means the world to me if you show your appreciation and you'll help pay the server costs.
You can also sponsor me by getting a Digital Ocean VPS. With this referral link you'll get $100 credit for 60 days.
Make sure you have the lsof
command installed. Your package manager probablyhas this package.
Using the following command you get a list of services currently using libssl:
On a Directadmin shared hosting server this is the output:
Not all the filenames are complete but you can fill those in. If you leave outthe last part of the command you can also see which specific library is in use:
Example output:
Here you can see some services using a different library, those still need arestart.
Update. Tzu sent me an email with his command to find all updated librariesand services using the old ones: