๐ SSH (Extended)
Secure Shell (SSH) is the primary method for remote server access.
๐งฉ Key-Based Authentication
Generate key:
1 | |
Copy key:
1 | |
๐ง SSH Configuration
Edit:
1 | |
Recommended:
1 2 3 4 5 | |
Restart:
1 | |
๐ ๏ธ SSH Client Config
1 | |
Example:
1 2 3 4 | |
๐จ Security Tips
- Disable root login
- Use strong keys
- Avoid password authentication
- Use fail2ban