ssh-keygen -l -f /path/to/id_rsa
ssh-keygen -l -E md5 -f /path/to/id_rsa
poetry export --without-hashes --format=requirements.txt > requirements.txt |
The default Fail2ban installation comes with two configuration files, /etc/fail2ban/jail.conf and /etc/fail2ban/jail.d/defaults-debian.conf. It is not recommended to modify these files as they may be overwritten when the package is updated.
Fail2ban reads the configuration files in the following order. Each .local file overrides the settings from the .conf file:
A collection of Markdown code and tricks that were tested to work in Gist.
This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.
Execute the following command to update a server
sudo apt update && sudo apt upgrade
Now, install the unattended upgrade on your Ubuntu system through the following command:
sudo apt install unattended-upgrades apt-listchanges bsd-mailx
After that, turn on the unattended security updates by running the following command:
https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-22-04-jammy-jellyfish
Execute the following command to update a server
sudo apt update && sudo apt upgrade && sudo apt dist-upgrade
Run release upgrade to either stable or development release
version: "3" | |
services: | |
valheim: | |
restart: always | |
image: mbround18/valheim:latest | |
environment: | |
- PORT=2456 | |
- NAME="Server name goes here" | |
- PASSWORD="server_password_here" | |
- TZ=America/Chicago |
#!/bin/bash | |
# | |
# credit to machupicchubeta/dotfiles/bin/enable_to_sudo_authenticate_with_touch_id.sh | |
set -eu | |
set -o pipefail | |
sudo chmod +w /etc/pam.d/sudo | |
if ! grep -Eq '^auth\s.*\spam_tid\.so$' /etc/pam.d/sudo; then | |
( set -e; set -o pipefail | |
# Add "pam_tid.so" to a first authentication |