You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#############################################################ToenableSSHloginforarootuseronDebianLinuxsystemyouneedtofirstconfigureSSHserver.
Open/etc/ssh/sshd_config and change the following line:##############################################################nano/etc/ssh/sshd_config
FROM:#PermitRootLoginwithout-passwordTO:#PermitRootLoginyesOnceyoumadetheabovechangerestartyourSSHserver:#/etc/init.d/ssh restart
[ ok ] Restartingssh (via systemctl): ssh.service.
#############################################################
Allow SSH root login on Ubuntu 18.04
#sudopasswd
[sudo] passwordforlinuxconfig:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
#sudosed-i's/#PermitRootLogin prohibit-password/PermitRootLogin yes/'/etc/ssh/sshd_config
#sudoservicesshrestart
All About Sudo on a Debian 10 Buster System
#su-#apt-getupdate#apt-getinstallsudo#visudo
%user ALL=(ALL:ALL) ALL