1. Edit the SSH config file: sudo nano /etc/ssh/sshd_config

  2. Find the line PermitRootLogin and set it to no

  3. Save and exit the file

  4. Restart SSH: sudo systemctl restart sshd

Make sure you have a separate user with sudo privileges before disabling root login.

?האם התשובה שקיבלתם הייתה מועילה 0 משתמשים שמצאו מאמר זה מועיל (0 הצבעות)