Tag: tutorial
-
SSH connection alive and prevent it from timing out (heartbeat)
To keep an SSH connection alive and prevent it from timing out, you can use the ServerAliveInterval option in your SSH client configuration or command line. This option sets the interval at which the client sends keepalive messages to the server. Additionally, the ServerAliveCountMax option controls how many unanswered keepalive messages trigger a connection termination. To set the heartbeat interval in…
-
Configuring SSH securely (the correct way)
First step, install OpenSSH. On Ubuntu you can use “sudo apt install openssh-server” Edit file “/etc/hosts.allow” and allow only specific IPs or network to access over ssh. Block all another IPs editing “/etc/hosts.deny” with: Edit file “/etc/ssh/sshd_config” and include this role: “PermitRootLogin no” Install UFW firewall, allow SSH connections and enable firewall:
-
Easiest way to install Docker and Docker-compose
First step: install Docker Last step: install Docker-compose Source: https://docs.docker.com/compose/install/
-
Gollum – Local Markdown Wiki editor
Install Gollum to edit Markdown Wiki files locally with Docker! Example how it works: Documentation: https://github.com/gollum/gollum#configurationSource: https://github.com/gollum/gollum/wiki/Gollum-via-Docker
-
Converting Markdown to pretty PDF
Download and configure Wandmalfarbe template: https://github.com/Wandmalfarbe/pandoc-latex-template
-
OpenVPN Server com Docker
VPN Uma Virtual Private Network (VPN) permite que você atravesse redes não confiáveis como se estivesse em uma rede privada. Ela dá a você a liberdade de acessar a internet com segurança no seu smartphone ou notebook ao se conectar a uma rede não confiável, como o wi-fi em um hotel ou café. [1] Docker…