From ebeeddd77ee4cbbe7dc11f75d126a6c4e8a2f2c9 Mon Sep 17 00:00:00 2001 From: Fabrice Quenneville Date: Thu, 5 Dec 2024 22:31:47 -0500 Subject: [PATCH] refactor: unify and enhance documentation across repositories - Unified and cleaned up common headers and notes for consistency. - Standardized formatting and normalized examples for better readability. - Aligned wording and comments for common commands to ensure uniform style. These changes improve clarity, maintainability, and usability of the documentation. --- setups/debian_setup_aptly.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/setups/debian_setup_aptly.md b/setups/debian_setup_aptly.md index c37b851..d10783b 100644 --- a/setups/debian_setup_aptly.md +++ b/setups/debian_setup_aptly.md @@ -120,7 +120,8 @@ By following these practices, you will help maintain the security and stability - **Operating System**: Debian - **Web Server**: Nginx -- **Other**: Git, sudo, GnuPG, WireGuard, UFW +- **Security**: GnuPG, WireGuard, UFW +- **Other**: Git, sudo ### Paths @@ -176,7 +177,7 @@ ssh @ "pct migrate 100 hv2" ### SSH Connection -**Test SSH Keys** +**Connection with specific keys** ```bash ssh -i root@ @@ -273,7 +274,9 @@ chown -R aptly:aptly /home/aptly/.ssh/ 8. **Secure SSH** - Edit `/etc/ssh/sshd_config`: + ```bash + nano /etc/ssh/sshd_config + ``` ```ini PermitRootLogin no @@ -281,7 +284,7 @@ chown -R aptly:aptly /home/aptly/.ssh/ ChallengeResponseAuthentication no ``` - Restart SSH: + **Restart SSH** ```bash systemctl restart ssh