این موزش در رده آموزش های کامل قرار دارد و به زبان اصلی می باشد
enable root : sudo -i
2. For desktop Ubuntu, root user need to be enabled first so that remote machines can SSH to it via root:
Run command below to set a password for root:
sudo passwd root
Then execute command to unlock the root account:
sudo passwd -u root
Edit the config file /etc/ssh/sshd_config, change the line
PermitRootLogin without-password
into:
PermitRootLogin yes
When done, restart the SSH service.
sudo /etc/init.d/networking restart