"Authentication failed" error while logging as the root
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"Authentication failed" error while logging as the root
I have the issue logging into the VM server, this is the message that I get when I try to log in as the root;
The authenticity of host 'svm**' can't be established.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'svm**' (DSA) to the list of known hosts.
Authentication failed.
I get this message whenever I try to log in as root from the control server, and when I go the VM console and try to log in as the root, the permission is denied as well. So how can I troubleshoot this issue?
What distros/versions are involved in this conundrum? Is this by any chance a *buntu?
Are you trying to log in via ssh or are you starting the VM and trying to log into the OS directly (my guess would be ssh because of the reference to "known hosts").
The server is Redhat 7 server . I am trying to log in via ssh and log in through the host console as well. But in the console the permission is denied, but my password is correct.
I have the issue logging into the VM server, this is the message that I get when I try to log in as the root;
The authenticity of host 'svm**' can't be established.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'svm**' (DSA) to the list of known hosts.
Authentication failed.
I get this message whenever I try to log in as root from the control server, and when I go the VM console and try to log in as the root, the permission is denied as well. So how can I troubleshoot this issue?
The first thing you can do is simple: **DO NOT LOG IN AS ROOT** That is a horrible idea, both over a network and on GUI especially. Don't do it, since there's never a need to. Log in as a regular user, and use su or sudo. Past that, you'll have to get verbose logging information for the SSH session (and make sure that root SSH is enabled, because it is NOT by default, because it is a bad idea). Once you have that, we can try to help, but as said, calling Red Hat support would be better for you.
You are PAYING for RHEL, right???? You've been told to contact RHEL support in your other threads, which you haven't followed up in. If you're not going to respond or take advice, what is the point in posting?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.