DebugQ - De:Bug:Q

Go Back   DebugQ - De:Bug:Q > DebugQ > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
Thread Tools Display Modes
  #1  
Unread 09-15-2015, 08:32 AM
Lila Lila is offline
Administrator
 
Join Date: Nov 2007
Posts: 320
Default SSH as root failed

Q:


I have a remote host, previously I can ssh into it with root and password

ssh root@remote_host
or I ssh into it first using a regular user account

ssh esolve@remote_host
and then su root and input password



but today, in both ways, my password is always incorrect, like

Quote:
[esolve@local esolve]$ ssh root@remote_host
root@remote_host's password:
Permission denied, please try again.

or

Quote:
[esolve@remote_host ~]$ su root
Password:
su: incorrect password





Q:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,hostbased).


   

Reply With Quote
  #2  
Unread 09-15-2015, 08:34 AM
Lila Lila is offline
Administrator
 
Join Date: Nov 2007
Posts: 320
Default

A:


ssh as root disabled

check your sshd configuration (possilby /etc/ssh/sshd_config)
and look for the line PermitRootLogin no.
Change the no to yes and restart sshd (most likely either service ssh restart or service sshd restart).


   

Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT. The time now is 03:22 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
DebugQ - Debug Quote - De:Bug:Q