no supported authentication methods available

incognio

Registered
Mar 2, 2010
3
0
51
I can not login to my server with ssh. When I enter my username (root) I see dialog: "no supported authentication methods available".

Last I remember was that I did some changes and restricts for users with shell access in WHM.

And I couldn't login to the server trough ssh
WHM was still opened, so I restart the server via WHM.
After that I can't access WHM, CPANEL, hosted domains on my server and I haven't shell access.

What I did?
Can this be fixed? Or I have to reinstall everything.
My server is colocated and I haven't direct access to it.

Does anybody can help me?
 

mickbeng

Well-Known Member
Oct 3, 2006
56
0
156
Penang, Malaysia
I can not login to my server with ssh. When I enter my username (root) I see dialog: "no supported authentication methods available".

Last I remember was that I did some changes and restricts for users with shell access in WHM.

And I couldn't login to the server trough ssh
WHM was still opened, so I restart the server via WHM.
After that I can't access WHM, CPANEL, hosted domains on my server and I haven't shell access.

What I did?
Can this be fixed? Or I have to reinstall everything.
My server is colocated and I haven't direct access to it.

Does anybody can help me?
I think you should seek for your host provider to access through the server through console and check on the /etc/ssh/sshd_config file.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
23
143
Houston, TX
cPanel Access Level
Root Administrator
Try the SSH autofixer

You can try using the SSH autofixer that is built into the WebHost Manager. You can call it using the following URL:

http://your_server_ip:2086/scripts2/doautofixer?autofix=safesshrestart

Replace your_server_ip with the actual server IP address. This function will attempt to restart sshd with a very basic, default configuration, with sshd listening on port 22. If successful, this will allow you to log in and investigate and correct any problems in your sshd configuration (/etc/ssh/sshd_config).

If the autofixer does not help, you will need to contact your service provider for assistance, because either a remote console or physical access to the server will be required to fix the sshd problem.
 

incognio

Registered
Mar 2, 2010
3
0
51
Thanks

Thank you for your help but I already decided to fix it by the hard way.
I'm back to inform you about what I did.

I contacted my data center and cPanel support.
Nobody couldn't help me.
So my decision was to reinstall the operation system.

Except 50 eur for reinstallation I didn't lost other because I was still testing cPanel on my server.
I hope never see this problem again.

From cPanel Support promised to do the new cPanel installation for me and I'm sure with your support everithing will be allright.

Thank you!