Already, how many articles I have read, nothing works out all the same. Already in the settings I added the ability to connect as root, I restarted SSH several times, all the same it writes access denied.

Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Apr 13 20:37:29 Johny sshd[4301]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.0.106 user=root Apr 13 20:37:32 Johny sshd[4301]: Failed password for root from 192.168.0.106 port 50948 ssh2 
  • all as for any other user . and no changes to the /etc/ssh/sshd_config file, restarting the sshd program, or the like, are required. - aleksandr barakin
  • Why then they write everywhere that in the config you need to enable PermitRootLogin? - quaresma89
  • as far as I know, in the ubuntu distribution (as in most others) this parameter defaults to prohibit-password , i.e., “on” , and does not require additional “on”. - aleksandr barakin
  • Strange, of course, already tried everything vseravno fails - quaresma89
  • “Everything” is not necessary. enough of what is stated in the response to the link above. if done correctly, but does not work, study the logs ( /var/log/auth.log ) and the output of the ssh program, adding “talkativeness” to it using the -v option. - aleksandr barakin

0