How To Mount a Remote Directory With SSHFS on a Linux

To mount a remote directory using SSHFS on a Linux system, follow these steps: Install the sshfs package, which provides support for mounting remote directories via SSH: sudo apt-get update sudo apt-get install sshfs Create a mount point for the remote directory, for example: sudo mkdir /mnt/remote Mount the remote directory using the sshfs command: … Read more

How To Patch and Protect OpenSSL Vulnerability # CVE-2015-0291 CVE-2015-0204 [ 19/March/2015 ]

To patch and protect against the OpenSSL vulnerabilities (CVE-2015-0291 and CVE-2015-0204) discovered in March 2015, you need to update to a version of OpenSSL that includes fixes for these vulnerabilities. The specific steps for updating OpenSSL depend on the operating system you’re using and the package manager you have installed. Here are the general steps … Read more

Debian/Ubuntu Linux: Find If Installed APT Package Includes a Fix/Patch Via CVE Number

To find if a package installed through APT on Debian/Ubuntu Linux includes a fix for a specific Common Vulnerabilities and Exposures (CVE) number, you can use the following steps: Update the package information database: sudo apt update Install the apt-show-versions package, which provides information about the installed versions of packages and the available upgrades: sudo … Read more

How To Debian/Ubuntu Linux Auto Mount Windows NTFS File System [ntfs-3g]

To automatically mount a Windows NTFS file system on Debian/Ubuntu Linux, follow these steps: Install the ntfs-3g package, which provides NTFS support for Linux: sudo apt-get update sudo apt-get install ntfs-3g Create a mount point for the NTFS file system, for example: sudo mkdir /mnt/ntfs Identify the device name for the NTFS file system, for … Read more

RHEL / CentOS Linux 7 Enable Ping Access In Docker Container

To enable ping access in a Docker container on RHEL/CentOS Linux 7, you can use the following steps: Start a new Docker container: docker run -it –name <container_name> <image_name> /bin/bash Install the iputils package inside the Docker container: yum install iputils -y Modify the firewall rules to allow ICMP (ping) traffic: firewall-cmd –permanent –zone=public –add-rich-rule=’rule … Read more

HowTo Block Internet Explorer Browser With Squid Proxy Server on a Linux/Unix Server

To block Internet Explorer browser access with Squid proxy server on a Linux/Unix server, follow these steps: Install Squid proxy server if it’s not already installed on your server. Open the Squid configuration file, usually located at “/etc/squid/squid.conf” using a text editor. Add the following lines to the end of the file: acl blocked_browser browser … Read more

CentOS/RHEL Use yum Command To Downgrade or Rollback Updates

To downgrade or rollback updates on CentOS/RHEL, you can use the following steps: Install the yum-plugin-versionlock package to enable yum to lock packages at a specific version: yum install yum-plugin-versionlock Lock the current version of a package by using the following command: yum versionlock [package_name] To downgrade a package, use the yum downgrade command along … Read more

RHEL / Centos Linux 7: Change and Set Hostname Command

To change the hostname of a CentOS/RHEL 7 system, you can use the following commands: # hostnamectl set-hostname newhostname Replace “newhostname” with the desired hostname for your system. In addition to changing the hostname, you may also need to edit the /etc/sysconfig/network file to set the hostname permanently: # nano /etc/sysconfig/network Update the line that … Read more

Linux / Unix: OpenSSH Multiplexer To Speed Up OpenSSH Connections

The OpenSSH Multiplexer is a feature of the OpenSSH client that allows multiple SSH connections to be multiplexed over a single network connection. This can reduce the overhead of creating and maintaining multiple connections, leading to faster and more efficient connections. To enable the OpenSSH Multiplexer, you need to edit the OpenSSH client configuration file, … Read more