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
已提问 3 个月前98 查看次数
1 回答
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
专家
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则