Disable Direct Root Login and User Access via SSH to Server Išjungti Tiesioginė Root Prisijunkite Vartotojo Prieiga per SSH prie serverio

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. Visi žino, įskaitant kompiuterių piratai ir puola, kad visos Linux ir UNIX sistemų tematikos ateiti su visais galingu root vartotojo sąskaita, kuri kartą gauti pavojus, tai visas hell breaks loose. So it's a 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). Taigi, tai gerą saugumo patirtį, norėdami išjungti root vartotojo galimybės galėtų prisijungti ir gauti prieigą prie serverio sistemos per SSH tiesiogiai (Žinoma, sistema turi būti išjungta FTP access). After disabling direct root SSH remote login, the chance for the brute force hacking to success is greatly reduced. Po išjungimo tiesiogiai root SSH nuotolinio prisijungimo, už Brute Force įsilaužimo sėkmės tikimybė yra labai sumažintas.

To turn off and disable direct root SSH login, follow this simple tutorial: Norėdami išjungti ir išjungti tiesioginį root SSH prisijungimo, atlikite šį paprastą Tutorial:

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. SVARBU: Įsitikinkite, kad turite kitą sąskaitą (pageidautina priklauso ratų vartotojų grupės taip pat), kurios galėtų prisijungti per SSH nuotoliniu būdu, ir galėtų Su root vartotoju. Else you risk been locked out from your server. Priešingu atveju rizika buvo užblokuota iš jūsų serverio.

  1. SSH into server and login as root. Į serverio SSH ir prisijungti kaip root.
  2. In command shell, use pico or vi to edit sshd_config file by typing one of the following commands: Visų komandų apvalkalas, naudokite pico arba VI redaguoti sshd_config failą įrašyti vieną iš šių komandų:

    pico /etc/ssh/sshd_config pico / etc / ssh / sshd_config
    vi /etc/ssh/sshd_config vi / etc / ssh / sshd_config

  3. Scroll down the SSH server configuration file and locate a line like below: Pereikite SSH serverio konfigūracijos failą ir surasti, kaip žemiau eilutė:

    #PermitRootLogin yes # PermitRootLogin Taip

  4. Uncomment the line by removing the hash symbol (#), and then change the “yes” to “no”. Uncomment pašalinant maišos simbolis linija (#), ir tada pakeisti "taip" "ne". The final line should look like below: Paskutinė eilutė turi atrodyti žemiau:

    PermitRootLogin no PermitRootLogin nėra

  5. Save the config file. Prisiminti konfigūracijos failą. In pico, press Ctrl-o, follow by Ctrl-x. Be Pico, paspauskite Ctrl-O, tolesni Ctrl-X. In vi, type :wq and press Enter. VI, tipas: WQ ir paspauskite Enter.
  6. Restart SSH server by typing the following command in command line, and press Enter: Paleiskite SSH serverio įvedę šią komandą į komandų eilutę ir paspauskite Enter:

    /etc/rc.d/init.d/sshd restart / etc / rc.d / init.d / sshd restart

  7. Logout from SSH connection. Atsijungti nuo SSH. Try to login as root, it should fail with Access denied error. Bandykite prisijungti kaip root, tai nepavyktų su Access denied klaida. To access root account, login with your own user name and password, and then SU to root. Norėdami prieiti prie šaknų sąskaitą, prisijunkite su savo vartotojo vardą ir slaptažodį, tada SU prie šaknų.

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


Leave a Reply 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> Galite naudoti šiuos žodžius: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

linux disable root login Linux išjungti root login - -- disable remote root login linux išjungti nuotolinio root Login Linux - -- freebsd disable root login FreeBSD išjungti root login - -- ssh user access SSH prieigą vartotojams - -- linux disable root Linux išjungti root - -- linux disable remote root login Linux išjungti nuotolinio root login - -- ssh root access denied ssh root access denied - -- disable remote root išjungti nuotolinio root - -- disable root login linux išjungti root Login Linux - -- disable remote root login išjungti nuotolinio root login - -- disable remote root login ssh išjungti nuotolinio root prisijungęs ssh - -- freebsd ssh access denied FreeBSD SSH Access Denied - -- linux disable root remote login Linux išjungti root nuotolinio prisijungimo - -- disable root user išjungti root - -- disable root login ssh išjungti root prisijungęs ssh - -- ssh disable remote root login SSH išjungti nuotolinio root login - -- disable remote login linux išjungti nuotolinio prisijungimo Linux - -- how to disable root login in linux kaip išjungti root Login Linux - -- ssh root login disable ssh root login išjungti - -- disable root remote login išjungti root nuotolinio prisijungimo - -- ssh remove root login SSH pašalinti root login - -- freebsd remote root login FreeBSD nuotolinio root login - -- freebsd disable root FreeBSD išjungti root - -- disable root remote access išjungti root nuotolinės prieigos - -- disabling root login linux išjungti root Login Linux - -- freebsd ssh root FreeBSD ssh root - -- how to disable remote root login Kaip išjungti nuotolinio root login - -- disable root linux išjungti root Linux - -- freenas ssh access denied freenas SSH Access Denied - -- how to disable ssh server kaip išjungti SSH serveris - -- disable ssh access išjunkite SSH prieiga - -- how to disable root user kaip išjungti root - -- linux prevent root login Linux kelią root login - -- linux disable remote login Linux išjungti nuotolinio prisijungimo - -- ssh disable user login SSH išjungti vartotojas prisijungęs - -- linux root login disable linux root prisijungimo išjungti - -- linux disable user ssh Linux išjungti vartotojo SSH - -- allow root login freebsd leisti šaknis Login FreeBSD - -- ssh root login access denied ssh root login access denied - -- all visi - -- disable root ssh freebsd išjungti root ssh FreeBSD - -- linux disable ssh user Linux išjungti SSH klientą - -- disable root login išjungti root login - -- ssh user access SSH prieigą vartotojams - -- disable root in linux išjungti šaknis Linux - -- freebsd disable root ssh FreeBSD išjungti root ssh - -- disable remote root login, linux išjungti nuotolinio root prisijungimo, Linux - -- disable direct root login išjungti tiesiogiai root login - -- linux debian disable user ssh Linux Debian išjungti vartotojo SSH - -- unix disable remote login Unix išjungti nuotolinio prisijungimo - --