Advanced Search
Search Results
42 total results found
Creating SSH-key
To generate an SSH-key, enter the following command on the "home" terminal: ssh-keygen -t rsa -b 4096 -t stands for type and this determines the type of key 2. -b stands for bits. This can be used to determine the length of the key. Saving the SSH-key Enter...
The special case with a VPS
Container in most cases a VPS has only one virtual drive attached, what makes it impossible (if the VPS uses LVM) for Proxmox to create a template, since the template needs to be on another Storage (correct me, if it changed in meantime). So what you do instea...
Using `dd` and `ssh` to copy a disk image over a network
dd if=/dev/sdX | ssh user@remotehost "dd of=ops-tools.img" Another Way On the Sourcemachine tar zcf - /* | nc $IP 4444 And on the Destination Machine nc -lp 4444 > backup.tar.gz
A modern mutt setup
Original seen and Highly inspired by: https://webgefrickel.de/blog/a-modern-mutt-setup As the time of writing I am using a Debian 10 system, you maybe have to adopt some settings depending on your Mailprovider and/or Distribution. I wrote to the the Original A...
Awesome-Selfhosted
Self-hosting is the practice of locally hosting and managing applications instead of renting from SaaSS providers. This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free ...
New Page
The Hitchhiker's Guide to Online Anonymity (Or "How I learned to start worrying and love privacy anonymity") Version 1.1.1, November 2021 by Anonymous Planet. This guide is a work in progress. While I am doing the best I can to correct issues, inaccuracies, an...
Linux-Knowledge-Ressources
Wikis https://wiki.archlinux.org/ https://www.linux-kvm.org/page/Management_Tools https://wiki.installgentoo.com/wiki/Main_Page Documentations https://www.openbsdhandbook.com/ VPS / Rootserver - Hosting [https://contabo.com/ https://www.ionos.de/ https://virma...
SSH Tunnel
tunnel with ssh (local port 3337 -> remote host's 127.0.0.1 on port 6379) ssh -L 3337:127.0.0.1:6379 root@domain.tld -N SSH Tunnel - Advanced SSH-Tunnel Syntax: ssh -L [bind_address:]port:host:port user@server ssh -R [bind_address:]port:host:port user@server ...
Less known but useful Commmands
Redo last command but as root sudo !! Open an Editor, write a bash command (and execute in shell) ctrl+x+e Create superfast Ramdisk mkdir -p /mnt/ramm mount -t tmpfs tmpfs /mnt/ram -o size=8192M fix a really long command (that you messed up) fc quickly cre...
Proxmox Fixes and Workarounds
XMPP Letsencrypt Container Create Certificate Folder mkdir /var/www/ssl/xmpp get Letsencrypt Certificate certbot certonly --webroot -w /var/www/ssl/xmpp --email mail@domain.tld -d xmpp.domain.tld -d conference.domain.tld -d pubsub.domain.tld -d upload.domain....
How to mount a hard disk as read-only from the terminal
You do not mount '''/dev/sda''', that refers to the entire disk. You mount '''/dev/sda1''' or whatever partition you want. Make a mount point, call it anything you like. sudo mkdir /media/2tb Mount as Read Only sudo mount -o ro /dev/sda1 /media/2tb When your...
Proxmox-Exposed-Host
In This Post I'm showing you How to create a Proxmox host which is reachable trough internet. It presupposes you have Debian already installed on your server: Access and Update the Server Add User adduser yourusername install sudo apt-get install sudo Add new ...
OpenBSD virtualization OpenBSD 6.7
Setup /etc/rc.conf.local apmd_flags="-A" dhcpd_flags=vether0 vmd_flags= ntpd_flags="-s" /etc/hostname.vether0 inet 192.168.30.1 255.255.255.0 NONE /etc/dhcpd.conf # Network: 192.168.11.0/255.255.255.0 # Domain name: vmm.local # Name servers: 192....
Install Pandoc via Cabal OpenBSD 6.7
Install Cabal Cabal is a packagemanager for Haskell very much like pip is for Python. You can install it from ports: doas pkg_add -i ghc cabal-install Prepare system to compile programs via cabal Enable wxallowed in /home and /tmp: You can do so via editing y...
Openbsd-as-a-Desktop-OS
Upgrade OpenBSD Patch Base System syspatch Upgrade system sysupgrade Upgrade Packages pkg_add -u Package Management Search for a package pkg_info -Q <searchterm> Get Info about package pkg_info <packagename> install package pkg_add <packagename> System E...
Create and restore apt-package-list
you can use this list for example to install all your apt packages on another machine, for example if you migrage or want to start over on a fresh installation dpkg --get-selections | awk '$2 == "install" {print $1}' > packages.list.save Restore your apt-pack...
Apt-usage
Install package apt-get install <packagename> search package apt-cache search <packagename> or <packagedescription> remove package apt-get remove <packagename> to remove but letting configfiles untouched apt-get purge <packagename> to remove with configfiles a...
Workstation Backup via Git
He does his configuration Management sice years with git and without Symlinks. His Solution is more than simple: create an empy bare git repo git init --bare $HOME/.cfg whith this Step you hace a repo inside your home directory $HOME/.cfg . Inside there are l...
Mount SSH / SSHFS / SFTP
sudo sshfs -o uid=1000 -o gid=1000 -o allow_other user@remotehost:/path/to/folder/ /path/to/local/dir
Surf the Darknet via Torsocks
torsocks w3m domain.onion