> ## Content Index
> Fetch the complete content index at: https://arabroot.cloud-event.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# [تجريبي] تقوية SSH على خوادم لينكس في عشر دقائق
- URL: https://arabroot.cloud-event.com/articles/تقوية-ssh-على-خوادم-لينكس/
- Published: 2026-09-20T15:00:00.000Z
- Updated: 2026-09-25T16:13:45.000Z
- Description: مفاتيح بدلاً من كلمات المرور، ومنع الدخول المباشر للجذر، وحماية من محاولات التخمين.
- Author: ArabRoot Dev Admin
- Tags: الأدلة التقنية, لينكس والخوادم, الأمن والخصوصية, SSH

⚠️

**محتوى تجريبي** لمعاينة القالب.

## استخدم المفاتيح

```bash
ssh-keygen -t ed25519 -C "admin@company"
ssh-copy-id admin@server
```

## إعدادات الخادم

```bash
# /etc/ssh/sshd_config.d/10-hardening.conf
PermitRootLogin no
PasswordAuthentication no
MaxAuthTries 3
```

🛑

افتح جلسة ثانية واختبر الدخول بالمفتاح قبل إعادة تشغيل الخدمة، حتى لا تُقفل خارج الخادم.

```bash
sudo sshd -t && sudo systemctl reload ssh
```