D
Deleted member 568311
Guest
I've disabled the password SSH login as suggested by the Security Advisor. I've also disabled root logins and have created an elevated user. How do I make a public and private key for the elevated user?
ssh-keygen -t rsa
Hello
You can generate a SSH key for the wheel user by accessing cPanel as that user and browsing to:
"cPanel >> SSH/Shell Access"
Otherwise, you can temporarily enable password authentication so you can access SSH as the user and generate a key using:
Thank you.Code:ssh-keygen -t rsa
Did you click on "Manage Authorization" for the public key in "WHM Home » Security Center » Manage root’s SSH Keys" and authorize it?I generated a keypair with the code you gave me, and I uploaded them to the server with the "manage root keys" function as stated. The wheel user can't use the keys but root can.
zlesavich: I had the same issue. If you didn't resolve it yet do this.Let me just recap real quick. I used the useradd command to add a new user. I added that user to the wheelgroup. I generated a keypair with the code you gave me, and I uploaded them to the server with the "manage root keys" function as stated. The wheel user can't use the keys but root can.
How do I generate a keypair that a wheel group user is authorized to use, as the server keeps refusing root keys for said user?
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
R | SSL is not generated | Security | 14 | |
![]() |
service generated warnings while checking SSL certificates | Security | 3 | |
M | Manage SSH Keys - Generated keys not displaying.. | Security | 5 | |
F | Cannot Generate SSH | Security | 3 | |
I | Generate SSL CSR (request) from SSH? | Security | 1 |