Self Host 101 - Office Hours - Losing SSH Access, VPNs, Load Testing, Reverse Proxies and more!

In this video, CJ answers your questions and responds to your comments from the recent video in the Self Host 101 series: https://www.youtube.com/watch?v=Q1Y_g0wMwww


00:00 Intro
00:26 Places to get a cheap VPS
00:52 How do we find the public IP of a VPS?
02:24 Add more public keys to a server
03:41 What happens if we lose our private key?
05:03 Why use a .pem file vs ssh key?
07:52 Can we use a VPN to connect to a VPS?
10:01 How much load can a small VPS handle?
11:24 How to run a node app in production?
13:18 Use scp to copy files to / from a server
14:25 Add 2-factor auth to SSH login
16:05 Automatically block requests with fail2ban
17:45 Use ssh config to set port / user
19:36 Setting the mode of the authorized_keys file
22:12 HTTP Servers like Caddy
23:12 Reverse Proxies Explained
26:31 Protecting Sites with Cloudflare
27:38 Please Comment / Question
28:02 Self-host Sentry
28:40 Thanks!

Places to get a cheap VPS - https://twitter.com/coding_garden/status/1770834001843957963

Private Networks - https://en.wikipedia.org/wiki/Private_network

Public vs Private Networks explained - https://www.youtube.com/watch?v=bPj_XrPbPUM

pem files - https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail

OpenVPN - https://en.wikipedia.org/wiki/OpenVPN

WireGuard - https://en.wikipedia.org/wiki/WireGuard

Load Testing Tools - https://en.wikipedia.org/wiki/Software_load_testing

Nuxt Production Deployment - https://nuxt.com/docs/getting-started/deployment

scp - Secure Copy Protocol - https://en.wikipedia.org/wiki/Secure_copy_protocol

scp on tldr - https://cheat-sheets.org/project/tldr/command/scp

2-factor Auth on Ubuntu - https://ubuntu.com/tutorials/configure-ssh-2fa

YubiKey - https://en.wikipedia.org/wiki/YubiKey

Yubikey SSH - https://developers.yubico.com/SSH/

Yubiky OTP - https://developers.yubico.com/yubico-pam/

fail2ban - https://github.com/fail2ban/fail2ban

ssh config reference - https://www.man7.org/linux/man-pages/man5/ssh_config.5.html

Caddy - https://caddyserver.com/

nginx - https://nginx.org/en/

Apache HTTP - https://httpd.apache.org/

traefik - https://traefik.io/traefik/

Caddy - Reverse Proxy - https://caddyserver.com/docs/quick-starts/reverse-proxy

Cloudflare DNS - https://www.cloudflare.com/plans/

Self Hosted Sentry - https://develop.sentry.dev/self-hosted/

Play / pause the audio
Minimize / expand the player
Mute / unmute the audio
Seek backward 30 seconds
Seek forward 30 seconds
Increase playback rate
Decrease playback rate
Show / hide this window