LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-08-2018, 09:14 PM   #1
ad.pathak
LQ Newbie
 
Registered: Dec 2017
Posts: 8

Rep: Reputation: Disabled
"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?
 
Old 08-08-2018, 09:25 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,465
Blog Entries: 25

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
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").

Can you log in as user and su to root?

Last edited by frankbell; 08-08-2018 at 09:26 PM.
 
1 members found this post helpful.
Old 08-08-2018, 09:31 PM   #3
ad.pathak
LQ Newbie
 
Registered: Dec 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
distribution and log in

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.
 
Old 08-08-2018, 09:35 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,465
Blog Entries: 25

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
Since it's RHEL and I assume you have certainly licensed it for support, have you contacted RHEL support about this issue?
 
Old 08-08-2018, 11:47 PM   #5
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan+lxde
Posts: 656

Rep: Reputation: 190Reputation: 190
add -vvv to your ssh command to get more verbose output
 
Old 08-09-2018, 02:05 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,974

Rep: Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831
Quote:
Originally Posted by ad.pathak View Post
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?
 
2 members found this post helpful.
  


Reply

Tags
authentication failure, log-in issues, virtual machine, virtual server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Authentication failed" error message in login console for every user other than root susantha.tvslanka Linux - Newbie 24 04-20-2018 09:19 AM
MongooseIM + ODBC (MS SQL) - specific error: "user authentication failed" trevizeatl Linux - Server 0 08-11-2015 06:45 PM
Error when logging into chroot jail: "sudo: must be setuid root" Docky Linux - Newbie 4 09-14-2012 02:07 PM
[SOLVED] NTP Error - "Failed to drop root privileges." mikewc02 Linux - Software 6 01-04-2011 11:28 AM
Error launching gnome apps as root: " Failed to contact configuration server" Kropotkin Fedora 1 12-16-2005 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration