SOLVED Logging into accounts with keys

tdot

Active Member
Nov 2, 2017
29
1
3
UK
cPanel Access Level
Root Administrator
How can I log in to user accounts home dir to upload files with FTP disabled? I have created user keys in cpanel and added each cpanel user to my sshdconfig but I'm still unable to login.

#SSHD Config
PermitRootLogin no
Password Authentication no
AllowUsers admin cpaneluser1 cpaneluser2 cpaneluser3
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Hello,

Is SSH access enabled for the cPanel accounts via "WHM >> Manage Shell Access"?

Thank you.
 

tdot

Active Member
Nov 2, 2017
29
1
3
UK
cPanel Access Level
Root Administrator
The user is set to 'Jailed Shell'

When i login in sftp

Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)

works fine for users that have su
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Hello,

What specific error message do you see when attempting to authenticate via SSH as the user?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Hello,

Feel free to open a support ticket using the link in my signature so we can take a closer look at your SSH configuration to see why authorization is failing for cPanel users.

Thank you.