Enable Root Access - Guilouz/Klipper-Flsun-Speeder-Pad GitHub Wiki
-
Connect in SSH and enter the following command (you will need to enter your user password):
sudo -i -
Then enter this command to change root password:
passwd -
Enter a password twice for the root user.
-
Then enter the following command:
sudo nano /etc/ssh/sshd_config -
Edit the file by replacing the line
#PermitRootLogin prohibit-passwordbyPermitRootLogin yes:
-
Then on your keyboard press the keys
Ctrl + Xto exit,Yto save andEnterto validate. -
Enter this command to apply change:
sudo service ssh restart -
Log out of the current SSH session.
-
You can now login to SSH with
rootuser rather thanpi.