Portal Home > Knowledgebase > Articles Database > with SSH Key i can not access the root :(
with SSH Key i can not access the root :(
Posted by back_off, 08-17-2008, 08:41 AM |
hello,
i have a problem with shell access, and i can not access it throw ssh putty
the problem with the SSH Key i made one to enable it in my server.
now i can not access the root throw ssh putty
i removed the SSH Key from the WHM and still son nor access the root throw SSH Putty
what to do
|
Posted by Sheps, 08-17-2008, 08:51 AM |
Enable password authentication in cPanel under the Security center. Or, generate the key in PuTTY first using PuTTYGen(the key generated by WHM is not compatible I do not believe)
|
Posted by ub3r, 08-17-2008, 09:20 AM |
You also need pageant for use with putty & key-based authentication.
|
Posted by back_off, 08-17-2008, 09:23 AM |
same
Connection Refused
there is any way to remove and disable the key throw the WHM ??
|
Posted by back_off, 08-17-2008, 12:15 PM |
nobody will help me in this problem?
|
Posted by Xous, 08-17-2008, 05:15 PM |
Putty stores keys in a different format but you can also convert the key generated with WHM with puttygen.
pageant makes it easier for using multiple keys with multiple servers but it is not required.
This sounds like the sshd service is not running or your firewall is blocking connections. You will probably need physical access to fix the issue.
This issue likely wasn't caused by setting up key auth for the root user.
Could you detail exactly what you did to your server to enable key auth?
|
Posted by Steven, 08-17-2008, 07:44 PM |
Try clearing your iptables and doing a safe sshd start..
Once you have root then you can correct your configuration errors, and iptables. as it sounds like either your iptables is blocking your connections or your sshd is not starting.
https://your.server.ip.here:2087/scripts2/autofixer
iptablesflush
safesshrestart
|
Posted by back_off, 08-18-2008, 07:43 AM |
done !!
now i can access the root through SSH Putty
thanks Bro
Regards
|
Add to Favourites Print this Article
Also Read