How to Chroot SFTP-only Users into Their Home Directory in Linux
A practical guide to configuring SFTP-only users restricted to their home directories using OpenSSH internal-sftp, including permission pitfalls and systemd management.
category
6 posts
A practical guide to configuring SFTP-only users restricted to their home directories using OpenSSH internal-sftp, including permission pitfalls and systemd management.
A comprehensive guide to SSL/TLS certificates: generating private keys, CSRs, and self-signed certs with OpenSSL, modern Nginx and Apache configurations, and Let's Encrypt automation.
A practical guide to recursive permission management in Linux: why chmod -R fails, deep dive into find -exec {} +, xargs -0, the capital X syntax, and production pitfalls.
A comprehensive guide to Linux/Bash I/O redirection: standard streams (0/1/2), /dev/null black hole, order-of-evaluation pitfalls (> file 2>&1 vs 2>&1 > file), the sudo redirection trap, and script-wide logging with exec.
Say goodbye to risky manual FTP uploads. A deep dive into using Git bare repositories and post-receive hooks for automated deployments, tracing the evolution from simple git push to zero-downtime symlink releases and modern CI/CD.
A comprehensive guide to customizing the Bash prompt (PS1) with ANSI colors (16 and 256-color SGR): escape sequences, color formatting, debugging broken line-wrapping with '\[ \]', and building modern Git-aware prompts.