Home > Article > Operation and Maintenance > Unable to use root user for remote login in linux
Install ssh service:
sudo apt-get install ssh
By default, only ordinary users can connect remotely. If you want to enable the root user:
1. Modify the configuration File
Recommended online video tutorial: linux video tutorial
Edit the sudo vim /etc/ssh/sshd_config
file and change PermitRootLogin# Change the value of ## to
yes
/etc/init.d/ssh restartTest: Recommended related articles and tutorials:
The above is the detailed content of Unable to use root user for remote login in linux. For more information, please follow other related articles on the PHP Chinese website!