SSH keys for CPanel / WHM on Lightsail Instance

0

Please where can I get SSH keys for Cpanel WHM on Lightsail Instance? I am connecting using Filezilla. I could get SSH keys for Alma Linux and connect but could not access Cpanel files (/home/myfolder). I also tried Generating SSH keys from Cpanel itself but that didnt work...with error .."the connection refused our key". Thank you

Nnamdi
asked 8 months ago225 views
1 Answer
0

Hello.

Connect to Alma Linux with SSH.
After connecting via SSH, try setting the connected Linux user to belong to the same group as "/home/myfolder".
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-quick-start-guide-cpanel

sudo usermod -aG <Owning group name of "/home/myfolder"> <Linux-User>

It may be better to ask your question on cPanel's support forum rather than on re:Post.
https://support.cpanel.net/hc/en-us/community/topics

profile picture
EXPERT
answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions