Skip to main content
added 347 characters in body
Source Link
Archemar
  • 32.3k
  • 18
  • 75
  • 107

By allowing the root in /etc/ssh/sshd_config/etc/ssh/sshd_config (Permit root login YesPermitRootLogin Yes).I, I was able to login.

according to man sshd_config

 PermitRootLogin 
 Specifies whether root can log in using ssh(1). The argument must be “yes”, “prohibit-password”, “without-password”, “forced-commands-only”, or “no”. The default is “prohibit-password”. 

note that sshd must be restarted after a change in sshd_config.

By allowing the root in /etc/ssh/sshd_config (Permit root login Yes).I was able to login

By allowing the root in /etc/ssh/sshd_config (PermitRootLogin Yes), I was able to login.

according to man sshd_config

 PermitRootLogin 
 Specifies whether root can log in using ssh(1). The argument must be “yes”, “prohibit-password”, “without-password”, “forced-commands-only”, or “no”. The default is “prohibit-password”. 

note that sshd must be restarted after a change in sshd_config.

Source Link
naveen8577
  • 21
  • 1
  • 2
  • 7

By allowing the root in /etc/ssh/sshd_config (Permit root login Yes).I was able to login