Disabling password authentication for SSH

meeven

Well-Known Member
May 8, 2007
132
2
168
I am trying to turn this off and use keys instead. Is there cPanel specific documentation available somewhere?

Thanks in advance.
 

meeven

Well-Known Member
May 8, 2007
132
2
168
Hi,

I don't know if you can do that from the whm interface but i always edit /etc/ssh/sshd_config for this.:)
Yes, editing the file would have to be done at the path you mentioned, but you can use WHM for generating the keys. I completed the steps but the private key in PuTTY format is being rejected by the server. Not sure how to proceed further.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
31
473
Go on, have a guess
You can do it in WHM under:

For key generation:
WHM > Manage SSH Keys

To disable Password Authentication:
WHM > Security Center > SSH Password Auth Tweak