SSH key enabled, how login in WHM with Firefox?

rowtc2

Member
Jun 26, 2009
10
0
51
Hi and nice to meet you,

i have my dedicated server root hacked with brute force. Now i have installed CFS and CPhulk active.

I was reading about shell files with php code who reveal passwords or passwords stealed with trojans from computers.

I think activating SSH key will be a big step to avoid root hacks.

1. I will activate SSH key for root access.I know how to login with putty. How i can login in WHM via firefox if i have SSH key enabled? (i need to use this browser interface because i am not prepaired to work in only in putty)

2. If i enable Private Key for website cpanels, how can i login in cpanel interface using firefox?
 

Spiral

BANNED
Jun 24, 2005
2,020
8
193
I am completely lost on your question because it almost sounds like
you think that SSH Keys applies to web logins as well as SSH.

If that is the case, you are a little confused ---

Your WHM login would still continue to use password authentication
same as always (but I'd recommend using SSL port to login) while
your SSH access would be restricted to certificate authentication.
 

Infopro

Well-Known Member
May 20, 2003
17,113
511
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
I am completely lost on your question because it almost sounds like
you think that SSH Keys applies to web logins as well as SSH.

If that is the case, you are a little confused ---

Your WHM login would still continue to use password authentication
same as always (but I'd recommend using SSL port to login) while
your SSH access would be restricted to certificate authentication.

I thought the same thing so googled to find something on it. ;)
 

UBERHOST

Well-Known Member
Jan 13, 2008
102
0
66
California, US
i have my dedicated server root hacked with brute force. Now i have installed CFS and CPhulk active.
LFD does what cPHulk does, but with more features, so you can disable cPHulk.

I was reading about shell files with php code who reveal passwords or passwords stealed with trojans from computers.
SSL encrypts plain text so be sure to use port 2087 and disable 2086 for WHM.

I think activating SSH key will be a big step to avoid root hacks.
Yes, if you set "PasswordAuthentication no" in sshd_config.

1. I will activate SSH key for root access.I know how to login with putty. How i can login in WHM via firefox if i have SSH key enabled?
You can't. SSH is on a completely different port, so you will continue to use password logins for WHM.

2. If i enable Private Key for website cpanels, how can i login in cpanel interface using firefox?
Same answer as for #1.