In this post, I show you how to configure SSH for Midnight Commander to remotely copy or move files with the file manager’s Shell link feature and public key authentication. I will also explain the difference between files transferred over Shell Protocol (FISH) and Secure Copy Protocol (SCP) and say a word or two about Midnight Commander’s SFTP feature.
Category: networking
Easy, quick and free valid SSL certificates for your HomeLab (or other local web servers) using DuckDNS and ACME DNS-01
This video and the accompanying article explain how to set up easy SSL certificates in a HomeLab environment using DNS-01 validation. This method should also work for other types of locally-hosted services (in other words, servers on your local network that have a web interface, but that aren’t exposed to the Internet). The problem is that obtaining SSL certificates for internal HomeLab services can be challenging, especially when you don’t have a public IP or don’t want to expose your services to the internet. The video and article demonstrate how to use DNS-01 validation to obtain SSL certificates from Let’s Encrypt using your internal DNS server. This approach eliminates the need for a public IP or exposing services to the internet.
Article: Easy, quick and free valid SSL certificates for your homelab using DuckDNS and ACME DNS-01 (Wolfgang’s Blog)
How to connect to Raspberry Pi Desktop using wayvnc VNC Server
The following description is from a (slightly edited) Mastodon post:
When I prepared a Raspberry Pi with the latest Raspberry Pi OS (based on Debian Bookworm) as a monitoring and observability display, I noticed the “wayvnc” package during the dist-upgrade.
Turns out this is a pre-installed VNC server package – at least on the Desktop variant.
But how can the VNC Server be configured and started and more importantly, how can I connect using a VNC viewer? Figured it out and wrote about it
Link: How to connect to Raspberry Pi Desktop using wayvnc VNC Server (Claudio Kuenzler)
Also see: Virtual Network Computing (VNC) in the Raspberry Pi Documentation
SSH over HTTPS
TL;DR: to pass SSH through HTTPS you need to tweak client and server sides as the following:
Source: trofi’s blog: SSH over HTTPS
Using NoMachine (remote desktop software) on the Raspberry Pi
This tutorial will teach you how to use NoMachine on your Raspberry Pi for remote access.
OpenSSH Tip: Check Syntax Errors before Restarting SSHD Server
This page explains how to check the OpenSSH sshd server configuration file for syntax errors under Linux/Unix using the command-line option.
Source: OpenSSH Tip: Check Syntax Errors before Restarting SSHD Server – nixCraft
Small SSH config change becomes a massive time saver when using a jump (bastion) host
By using ProxyJump in your config on your local SSH client, you can save a lot of time when using a SSH jump (bastion) server before connecting to the target server.
Source: Small SSH config change becomes a massive time saver when using a jump (bastion) host (Claudio Kuenzler)
Nmap Commands for Beginners: Simple Scanning Tips
Discover 20 essential Nmap command examples for basic scans, port scans, and more. Perfect for beginners looking to get started with Nmap.
Source: Nmap Commands for Beginners: Simple Scanning Tips – LinuxCapable
The Ultimate Guide to Wake on LAN for Windows, MacOS, and Linux
What is Wake on LAN and why is it so hard?
Source: The Ultimate Guide to Wake on LAN for Windows, MacOS, and Linux | Techno Tim Documentation
How to Set Up Peer-to-Peer VPN with Tinc on Ubuntu 22.04
Tinc is free and open-source VPN software that can be used to create mesh VPN networks. It is a small and powerful VPN daemon that can be installed on multiple platforms. Tinc uses encryptions and tunneling for creating a secure private network between multiple hosts.
Tinc provides additional features such as encryption, compression, and automatic mesh routing. This allows you to create secure and distributed private networks between servers in different locations.
In this tutorial, you will set up a peer-to-peer VPN server with tinc using multiple Ubuntu 22.04 servers. You will set up a peer-to-peer VPN with three different servers. Each server will be able to connect via a secure VPN connection.
Source: How to Set Up Peer-to-Peer VPN with Tinc on Ubuntu 22.04 (Howtoforge)
Recent Comments