today's howtos
-
The New Stack ☛ Port Knocking Ubuntu Servers (or Containers) for More Secure SSH
Port knocking works by closing off all ports and only opening them 'on demand,' according to a pre-determined sequence of pings.
You’ve probably read the usual things admins do with the Secure Shell (SSH), such as changing the port, preventing root logins, using fail2ban, using SSH key authentication, etc. But there’s another technique you can employ that does a great job of protecting your servers from unwanted SSH logins.
That technique is called port knocking and can be enabled with the help of knockd, a Linux port-knock server. This works by closing off all ports and only opening them “on demand,” according to a pre-determined sequence of pings. Although you wouldn’t use port knocking for every server or deployment (and you wouldn’t rely on it alone), it’s a very novel way of adding security to SSH.
Of course, along with port knocking you must always keep SSH up to date, ensure your /etc/ssh/sshd_config file is configured with best practices, and consider employing SSH key authentication.
But if you want to add this extra layer to the system, read on and I’ll show you how it’s done.
-
OMG Ubuntu ☛ Install the Latest Enlightenment Desktop Release in Ubuntu 22.04
Just before Christmas I was introduced to a handy script that makes it easy to install the latest Enlightenment desktop release on Ubuntu 22.04.
Emphasis on latest as (I’m sure you already know) you can install the Enlightenment desktop in Ubuntu directly from the archives, i.e. no PPAs, 3rd-party repos, or scripts required.
However, Ubuntu’s archive snapshots of Enlightenment are almost always1 older versions. And depending on which version of Ubuntu you use, it could lag behind the most recent release by several years.
There’s nothing wrong with using an older version of anything (as long as it still works) but does so does mean you don’t benefit from new features, bug fixes, changes, etc.
-
Medium ☛ How to Use OpenPGP Symmetric Encryption with Libre Office and Linux
You could use a graphical user interface like Sea Horse to generate a public private key pair.
But for this article we will do it the console way.
-
Net2 ☛ How to solve “Cannot find a valid baseurl for repo” in CentOS
A common issue faced by CentOS users, notably when utilizing the YUM package manager, is encountering the error message “Cannot find a valid baseurl for repo: base/7/x86_64”. This problem often arises on freshly installed systems.
-
Own HowTo ☛ How to install Teamviewer on Ubuntu
In this tutorial, you will learn how to install Teamviewer on Ubuntu.
Teamviewer is one of the best solutions when it comes to remote control a device from anywhere in the world, via the internet. Teamviewer supports Linux, and other Operating Systems such as Windows, MacOS, Android and IOS.
-
TecAdmin ☛ How To Create and Use Workspaces in Terraform
What are Terraform Workspaces? Workspaces in Terraform are used to manage multiple distinct sets of infrastructure resources within a single configuration. They are particularly useful in scenarios where you want to separate environments like development, staging, and production, without duplicating the configuration files.
-
Ubuntu Handbook ☛ Wine 9.0 Stable Released! How to Install it in Ubuntu
Wine, the popular software for running backdoored Windows applications on Linux, macOS, & BSD, announced new stable 9.0 release few days ago on Tuesday. Wine 9.0 features WoW 6.0 (Windows 32-bit on backdoored Windows 64-bit), which was experimentally supported in last 8.0 release.
-
TecMint ☛ How to Install and Compile Kernel in Debian
One of the biggest draws to using GNU/Linux is its easy customization and one of the most fun things to customize is the Kernel itself [...]