Disable Direct Root Login and User Access via SSH to Server تعطيل دخول الجذر مباشرة وعبر وصول المستخدمين الى الخادم ssh

Everybody knows, including hackers and attackers that all Linux and UNIX flavored systems come with a all powerful root user account, which once get compromised, mean all hell breaks loose. ويعرف الجميع ، بما في المتسكعين وان جميع المهاجمين لينكس ومتناسب مع أنظمة يونيكس يأتي مع جميع قوى الجذر حساب المستخدم ، والتي بمجرد الحصول على شبهه ، يعني وقوع جميع الجحيم فضفاضة. So it’sa good security practice to disable the ability for root user to able to login and gain access to the server system via SSH directly (of course, the system must have disabled FTP access). حتى it'sa ممارسات الامن الجيدة لتعطيل قدرة لالجذريه للمستخدم تسجيل الدخول وقادرة على الوصول الى خادم ssh مباشرة عبر نظام (وبطبيعة الحال ، فإن هذا النظام يجب ان يكون بروتوكول نقل الملفات وصول المعوقين). After disabling direct root SSH remote login, the chance for the brute force hacking to success is greatly reduced. بعد تعطيل ssh الجذر مباشرة بعد تسجيل الدخول ، فرصة لتقطيع القوة الغاشمه لتحقيق النجاح هو الى حد كبير.

To turn off and disable direct root SSH login, follow this simple tutorial: لايقاف وتعطيل دخول ssh الجذر مباشرة ، ومتابعة هذه مجرد امثلة توضيحيه :

IMPORTANT: Make sure you have another account (preferably belongs to wheel user group too) which is able to login via SSH remotely, and able to SU to root user account. هام : تأكد من حساب آخر (يفضل ان ينتمي الى مجموعة المستخدم عجلة جدا) يكون قادرا على تسجيل الدخول عن طريق ssh عن بعد وقادرة على سو من اجل القضاء على حساب المستخدم. Else you risk been locked out from your server. آخر مغلق كان لكم خطر الخروج من الخدمة الخاص بك.

  1. SSH into server and login as root. Ssh تسجيل الدخول الى الخادم وكما الجذر.
  2. In command shell, use pico or vi to edit sshd_config file by typing one of the following commands: شل في القيادة ، أو استخدام بيكو السادس لتحرير sshd_config الملف بكتابة احد الاوامر التالية :

    pico /etc/ssh/sshd_config بيكو / الخ / ssh / sshd_config
    vi /etc/ssh/sshd_config سادسا / الخ / ssh / sshd_config

  3. Scroll down the SSH server configuration file and locate a line like below: انزل فان مركز خدمة ssh الملف وتحديد مكان مثل خط ادناه :

    #PermitRootLogin yes # نعم permitrootlogin

  4. Uncomment the line by removing the hash symbol (#), and then change the “yes” to “no”. غير تعليق الخط البعثره عن طريق ازالة رمز (#) ، ثم تغيير "نعم" الى "لا". The final line should look like below: والسطر الاخير ينبغي ان تبدو ادناه :

    PermitRootLogin no لا permitrootlogin

  5. Save the config file. إنقاذ ملف التهيءه. In pico, press Ctrl-o, follow by Ctrl-x. في بيكو ، [كترل - س الصحافة ، ومتابعة من قبل السيطرة العاشر. In vi, type :wq and press Enter. في السادس النوع : wq واضغط مفتاح الادخال.
  6. Restart SSH server by typing the following command in command line, and press Enter: اعادة تشغيل خادم ssh بكتابة الامر التالي في سطر الاوامر ، ودخول الصحافة :

    /etc/rc.d/init.d/sshd restart / الخ / rc.d / init.d / sshd اعادة

  7. Logout from SSH connection. خروج من ssh الصدد. Try to login as root, it should fail with Access denied error. كما حاول الدخول الى الجذر ، مع انها ينبغي ان لا خطأ في رفض الوصول. To access root account, login with your own user name and password, and then SU to root. للوصول الى حساب الجذر ، مع تسجيل الدخول الخاصة بك اسم المستخدم وكلمة المرور ، ثم سو الى الجذر.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. هام : هذا هو الاله الذي ترجم صفحة مقدمة "كما هى" دون ضمان. Machine translation may be difficult to understand. الترجمة الاليه قد يكون من الصعب ان نفهم. Please refer to يرجى الرجوع الى original English article المادة الانكليزيه الاصليه whenever possible. كلما كان ذلك ممكنا.

Share and contribute or get technical support and help at والمساهمة في حصة او الحصول على الدعم التقني والمساعدة فى My Digital Life Forums بلدي الرقميه الحياة المنتديات .



Leave a Reply ترك الرد

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> يمكنك استخدام هذه العلامات : <ahref="" title=""> <abbrtitle=""> <acronymtitle=""> <b><blockquotecite=""> <cite><code><دل datetime = ""> <em><i><qCite=""> <strike><strong>

Subscribe without commenting اشترك بدون تعليق


Custom Search

New Articles المواد الجديدة

Incoming Search Terms for the Article الوافدة من حيث البحث عن المادة

disable remote root login تعطيل الناءيه الجذر تسجيل الدخول - -- linux disable ssh for user لينكس للمستخدم تعطيل ssh - -- disable remote root تعطيل الناءيه الجذر - -- disable root user تعطيل الجذر المستخدم - -- Disabling root login الجذر تعطيل تسجيل الدخول - -- disable ssh login for user تعطيل تسجيل الدخول للمستخدم ssh - -- iphone ssh access denied ونفى وصول اي فون ssh - -- root ssh Access denied الجذر ssh رفض الوصول - -- disable remote ssh تعطيل الناءيه ssh - -- root disabled الجذر المعوقين - -- freebsd ssh access denied فري بي. اس. دي ssh رفض الوصول - -- Disable user ssh login تعطيل دخول المستخدم ssh - -- linux disable remote root login لينكس تعطيل الناءيه الجذر تسجيل الدخول - -- sshd root login sshd الجذر تسجيل الدخول - -- disable SSH remote login root تعطيل دخول ssh عن بعد الجذر - -- enable remote ssh login بعد تسجيل الدخول تمكين ssh - -- ssh root access denied ssh الجذر رفض الوصول - -- ssh login user ssh دخول المستخدم - -- disable direct root login تعطيل تسجيل الدخول المباشر الجذر - -- ssh access denied رفض الوصول ssh - -- no root login for linux لا الجذر تسجيل الدخول في لينكس - -- disable ssh root access تعطيل الوصول الى الجذر ssh - -- disable ssh for user تعطيل ssh للمستخدم - -- disable remote root login linux تعطيل الناءيه الجذر تسجيل الدخول لينكس - -- disable root user+mysql تعطيل المستخدم الجذر + الخلية - -- linux disable user login ssh لينكس تعطيل دخول المستخدم ssh - -- linux disable login shell access لينكس تعطيل الوصول الى شل تسجيل الدخول - -- root login ssh الجذر دخول ssh - -- remote ssh login root linux بعد دخول ssh الجذريه لينكس - -- linux no root login لينكس لا الجذر تسجيل الدخول - -- direct file access valid login الوصول المباشر الملف صالحة تسجيل الدخول - -- disable ssh remote login تعطيل دخول ssh عن بعد - -- disable remote ssh root access تعطيل الوصول عن بعد الجذر ssh - -- switch off root login قلغا الجذر تسجيل الدخول - -- freebsd disable root فري بي. اس. دي تعطيل الجذر - -- disable ssh login تعطيل دخول ssh - -- freeBSD disable ssh فري بي. اس. دي تعطيل ssh - -- remove remote access for root ازالة الوصول عن بعد للجذور - -- disable remote login ssh تعطيل دخول ssh عن بعد - -- cpanel disable root ssh cpanel تعطيل الجذر ssh - -- enable root ssh access freebsd تمكين الوصول فري بي. اس. دي الجذر ssh - -- iphone turn off ssh ايقاف تشغيل أي فون ssh - -- linux user ssh access لينكس للمستخدم الوصول ssh - -- all الكل - -- disable root ssh access تعطيل الوصول الى الجذر ssh - -- su to root alert سو الى الجذر تنبيه - -- freebsd ssh enable root access remote فري بي. اس. دي ssh الجذر تمكين الوصول عن بعد - -- Unix access denied for root user يونكس رفض الوصول للمستخدم الجذر - -- linux disable root remote login لينكس تعطيل الجذر بعد تسجيل الدخول - -- root login disable الجذر تعطيل تسجيل الدخول - --