Author Topic: Can't login via SSH as root anymore after installin CWP  (Read 10450 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can't login via SSH as root anymore after installin CWP
« on: December 06, 2015, 09:27:05 PM »
Hello,

First of all let me say this panel is awesome, is a good alternative to cpanel.
After I installed CWP I can't login anymore via shh as root, it says login incorrect but I know the login is correct, can someone help me? Thank you!

Offline
*
Re: Can't login via SSH as root anymore after installin CWP
« Reply #1 on: December 07, 2015, 03:10:50 PM »
you should check your sshd configuration, cwp by default is not making any changes in sshd configuration.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Can't login via SSH as root anymore after installin CWP
« Reply #2 on: December 07, 2015, 05:48:17 PM »
It has this, but still doesn't work, I can install packages via vnc but in terminal I can't logi with the sudo.

# Authentication:

#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

Offline
*****
Re: Can't login via SSH as root anymore after installin CWP
« Reply #3 on: December 08, 2015, 09:24:39 AM »
Hello.

Check your /var/log/security . SSH hasn't dependience the CWP.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Can't login via SSH as root anymore after installin CWP
« Reply #4 on: December 08, 2015, 11:00:55 AM »
Hello.

Check your /var/log/security . SSH hasn't dependience the CWP.

I got this

Dec  8 11:51:51 srv86 sshd[750]: User root not allowed because shell /bin/bash\r does not exist
Dec  8 11:51:51 srv86 sshd[751]: input_userauth_request: invalid user root

Edit:

I was able to solver the problem, it looks the the passwd file was on dos format after changing this file with a nom linux editor, so I have download the passwd to a windows pc and download the dos2unix and converted the file to unix, then I replaced the file on the server with the new and it's working now!
« Last Edit: December 08, 2015, 12:11:01 PM by Samekas »

Offline
*****
Re: Can't login via SSH as root anymore after installin CWP
« Reply #5 on: December 11, 2015, 10:09:59 AM »
Hi,

Quote
Dec  8 11:51:51 srv86 sshd[750]: User root not allowed because shell /bin/bash\r does not exist
Dec  8 11:51:51 srv86 sshd[751]: input_userauth_request: invalid user root

Yes, that means you have the error in end of line with root user.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services