Skip to content

Instantly share code, notes, and snippets.

loadenmb

Block or report user

Report or block loadenmb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@loadenmb
loadenmb / setup_sshdHiddenService.sh
Created Sep 10, 2019
sshd tor authenticated hidden service setup script
View setup_sshdHiddenService.sh
#! /bin/sh
# sshd tor authenticated hidden service setup script
# <configuration>
SSH_PORT="" # new SSH port, leave empty for no change
# </configuration>
# workflow:
# - change SSH port if not empty
# - setup SSH brute force protection: fail2ban
# - setup tor: basic authenticated sshd hidden service
@loadenmb
loadenmb / setup_cryptdevice_automount.sh
Created May 20, 2019
Create auto mount of luks encrypted volume on system start
View setup_cryptdevice_automount.sh
#! /bin/sh
# create auto mount of luks encrypted volume on system start
# scripts requirements: cryptsetup (luks), awk, grep, dd
# files changed by script: /etc/crypttab, /etc/fstab
# files created by script: DRIVE_PATH (mount path)
# tested on: debian stretch
# set configuration & chmod +x this script ;) & run this script
# see: https://blog.tinned-software.net/automount-a-luks-encrypted-volume-on-system-start/ | https://linuxwiki.de/cryptsetup
You can’t perform that action at this time.