Last active
October 21, 2017 11:32
-
-
Save DreamerKlim/9fcd4d452025c5e64947749b822b6156 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# редактируем конфиг | |
sudo nano /etc/ssh/sshd_config | |
Находим строку PermitRootLogin (сохраняем слова в этой строке для безопасности) | |
Меняем все что написано в строке на PermitRootLogin yes | |
После всех манипуляций советую вернуть старое значение | |
# перезагрузка | |
sudo service ssh restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment