Simplifying SSH Key Management setup with PowerShell Introduction Managing SSH keys effectively is crucial for maintaining secure and efficient access to remote systems. This blog post introduces a PowerShell script designed to configure an SSH-Agent on Windows 11 with keys. I use this method when I first build a new Windows 11. Using SSH-Agent allows me to use forwarding agent requests and allows for using Yubikey certificates acorss an RDP session.
Building a Versatile Shell Script Template with Logging and Command Handling Creating reusable shell scripts can save a lot of time, especially when they’re structured to handle different commands, support logging, and track version history. Here i have provided a reference for a template structure for bash scripting. Hopefully I will continue to use this myself.
Step 1: Setting Up the Script Structure We start by creating a basic structure for the script, including:
Managing Multiple Monitors on Linux Mint with xrandr When using a Linux laptop with an external docking station, managing multiple monitors effectively can be challenging. If you often connect and disconnect external monitors, you may want a quick way to toggle between using only your laptop display and activating external monitors.
In this post, I will show a custom script using xrandr to streamline the process. The script has been tested in Linux Mint 22, which is running X11.
Hosting a Tor-Accessible Hugo Website with Docker In this guide, I will go over setting up a hidden service using Docker on an Ubuntu Linux host. This setup will use a simple Python HTTP server behind the Tor network to serve a Hugo static website. Docker will ensure both Tor and the web server remain operational and accessible through a .onion address.
Why use Python to host the web server and not NGINX, just wanted something easy to test.
How to Enable APA 7th Edition in Microsoft Word When working on academic papers, the APA (American Psychological Association) style is one of the most commonly used citation formats. However, as of now, Microsoft Word does not natively support the APA 7th edition. Fortunately, a community member named Mike Slagle has provided a solution, enabling the use of APA 7th edition in Microsoft Word. Here’s a simple guide to set it up on your computer.
How to Export Your Spotify Playlists to a JSON File Using PowerShell I need to move off Spotify for a specific reason and was looking for a way to move my music lists to other platforms. There are a number of website that can perform this task for you, here I will go over how to export your playlists so you can use them to build up your new collections in other platforms.
Checking Windows License Status and KMS Configuration with PowerShell In this blog post, I will walk you through a PowerShell script that helps you check the current license status of a Windows host, verify if it’s using a Key Management Service (KMS), determine if it’s part of a domain, and check the DNS KMS settings if applicable.
What Does the Script Do? This PowerShell script performs several important tasks:
Retrieves and displays the current license status of the Windows host.
Automating Agent and Log Forwarding to New Relic on Ubuntu In this post, we’ll walk through the steps to automate the installation and configuration of the New Relic Infrastructure agent on an Ubuntu system. Additionally, we’ll show how to dynamically configure log forwarding for all log files in the /var/log directory and its subdirectories.
This script has been tested on Ubuntu 22.04 LTS on ARM, but should work for other versions of Ubuntu.
Azure CLI on Linux Mint Today, I embarked on an exploration of Linux Mint as a potential new desktop environment. Linux Mint stands out as an operating system recognized for its robustness, user-centric design, and unparalleled stability. Its foundation on Ubuntu, which draws from Debian, positions Linux Mint as an exemplary choice for the Linux community. The system’s interface, celebrated for its elegance and simplicity and an extensive software repository, ensures a seamless user experience.
Azure Resources and Let’s Encrypt SSL Certificate Automation In the digital age, securing your web applications with SSL/TLS certificates is not just an option—it’s a necessity. Microsoft Azure users have a powerful toolset at their disposal to automate this process, using a combination of Azure resources, Bicep, and Let’s Encrypt. This guide dives into the specifics of setting up Azure resources with Bicep and automating SSL certificate generation and renewal with Let’s Encrypt, highlighting the integration with Azure Key Vault for secure storage of certificates and service principle details.