mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Problem with SSH key login when FTP user added to site #266
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kuba1842 on 2/10/2024
CloudPanel version(s) affected
v2.4.1
Description
Problem with SSH login via keys when FTP account is created
How to reproduce
Today I ran into the problem that I could not log in under SSH user of an added site through SSH keys.
in short, everything that should be so looked fine.
But the /var/log/auth.log still showed "sshd[1036517]: Authentication refused: bad ownership or modes for directory"
I didn't know what to try anymore, so I tried deleting the FTP account created for this site and then the login worked. Probably somehow the permissions of the created FTP account are confused with the SSH account??? I guess, I don't know honestly. :-D
Possible Solution
No response
Additional Context
No response