Create a wheel user for ssh key
Hi, i'm trying to transfer the configuration files and a specyfic user backup to another cpanel server through rsync.
I won't use the normal user auth instead i want to use ssh key auth
On the destination server i've created a username and added it to wheel users.
but how can i do to configure that user for a ssh key auth?
-
A wheel user is a user that is granted the su command though not a sudo user which can be configured in /etc/sudoers - You can read about wheel group users here: Manage Wheel Group Users | cPanel & WHM Documentation - You may need to grant your wheel user sudo permissions. The SSH key for the user can be configured in the user's cPanel interface. If the user is not a cPanel user you'll need to add the SSH key manually, the following provides pretty basic/easy to follow instructions on how to manually configure an SSH key: How to use ssh-keygen to generate a new SSH key Do ensure that the SSH key is accessible to the user that you've created it in 0 -
Thanks for reply Lauren i have this situation: On destination server (where i will store backup) i've created an account with useradd command, set it a password and put that created user on wheel users (i dont know if this its neccesary or not). Where i must to create the ssh keys on the destination or on the origin? Help me please because i'm newbie on the ssh key configurations. Thanks in advance 0 -
Hello, That second link should provide you with instructions on how to do this in the event you manually added a user. 0
Please sign in to leave a comment.
Comments
3 comments