Re: SSH authenticate root and nonroot user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



diego.veiga@xxxxxxxxxxxxxx wrote:

Better question

I had generated a key with ssh password for user root, the others users are
accessing the ssh by user and unix password, but how can i do for user root
only authenticate with the key, not with user and unix password too.

Regards,


Edit /etc/ssh/sshd_config and set PermitRootLogin to "without-password" instead of "yes". Then restart sshd to put your changes into effect.

Josh Kelley


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux