Skip to content
Menu
vernon.wenberg.net
vernon.wenberg.net

Tag: linux

July 4, 2025

Configure acme.sh with PowerDNS

This configures acme.sh to automatically issue certificates using LetsEncrypt with PowerDNS DNS-01 integration. This assumes the user is root. Set up acme.sh The quickest way to download acme.sh is to use the following command in the CLI. Edit ~/acme.sh/account.conf and add your PowerDNS API information. Your Token will be from PowerDNS itself. Set up bash…

Read More
December 9, 2024

Mount Google Drive in Linux using rclone

Prerequisites Add Google Drive remotes in rclone Once you have installed rclone and created your client ID in Google, you can now begin adding the “remote” in rclone. Remotes in rclone are your remote drives that you want to sync to locally. rclone supports syncing many remote drives, but here we will be specifically mounting…

Read More
July 1, 2024July 1, 2024

Allow Python to use ICMP raw packets

icmplib uses raw packets to create ICMP packets. While this is not an issue in Windows, ping on Linux always runs as root to create those packets. icmplib will throw the following error if it is unable to get permissions to create raw network packets. Use the following command to allow Python to manipulate raw…

Read More
June 24, 2024June 24, 2024

“agent refused operation” when logging in with ssh keys

Copying your SSH keys to a new server is usually accomplished by However, on Fedora 40, I encountered the following error after adding my keys. This appears to just be a permissions issue. To fix this, use the following commands.

Read More
June 24, 2024June 24, 2024

Service check / Port check in LibreNMS

LibreNMS offers a way to check for services and/or ports. In this example, we will check for HTTPS/SSL. First we need to enable services. Make sure the value for show_services is “1”. If not, change it to “1”. We then need to install the nagios-plugins. Let’s add a dummy device. In this case, we will…

Read More
May 18, 2024May 18, 2024

CrowdStrike: Update to supported kernel to remove RFM status in Ubuntu

To get the full benefits of the falcon-sensor on Ubuntu, you need to use a supported kernel, or your system will be in “RFM”. To remove the RFM status we will need to update to a kernel supported by your version of falcon-sensor. First verify your RFM status. You should see the following in the…

Read More
March 9, 2024July 1, 2024

Essential Linux/Mac/WSL Terminal Apps

I usually forget what apps I regularly use on a Linux terminal until I get a command not found error. This will act as my reference to remember to install these apps when using a new terminal. This is a work in progress and apps may be added or removed. Most of these apps are…

Read More
January 16, 2024January 16, 2024

Only allow certain IPs to access your Apache2/nginx web server

Use the following statements in your conf files. IPs are in CIDR format. Replace with your IP ranges as needed. Apache 2.4 Apache 2.2 nginx

Read More
November 20, 2023November 20, 2023

Create a shared SFTP chroot directory for multiple users

These are instructions to create a shared directory amongst two or more users. This will only allow those users access to SFTP, but not the shell. They will also be “jailed” to the directory of your choosing. These examples were done using Ubuntu 22.04 and assume that you are root or using sudo. You are…

Read More
November 17, 2023May 30, 2024

Add Duo Two-Factor auth to SSH in Ubuntu

Duo offers a relatively simple way to add support Duo two-factor auth to SSH sessions in multiple Linux Distributions. Here are my steps for Ubuntu Server. Create /etc/apt/sources.list.d/duosecurity.list with the following contents: Create a user that corresponds to your username in Duo. Add your user to sudo group (Ubuntu) or wheel group (RedHat) Install the…

Read More
  • 1
  • 2
  • Next

Disclaimer

These posts are notes for me. These are not guides and you should not use these instructions as step-by-step instructions without knowing what they do.

Recent Posts

  • Configure acme.sh with PowerDNS
  • HPE Aruba-CX Notes
  • Docker Reference
  • Useful Commands for Windows Subsystem for Linux
  • FortiManager Local-In Policy

Mastodon

  1. Loading Mastodon feed...

©2025 vernon.wenberg.net | Powered by WordPress and Superb Themes!