Just discovered the folder /home/username/.ssh permission set as 755, and the authorized_keys file inside set as 644
the file is:
from=“127.0.0.1”,command=“internal-sftp”,restrict ssh-rsa
XXXXXXXXXXXXXXX
filemanager.ssh.key
Is this normal behavior? will it cause security concern?
I think this open PR managed that:
is this a security bug about that file and folder permission
Thanks, I’ve changed these 2 files. So I need to manually set .ssh/ folder to 700, and authorized_keys file inside to 600?
Yes, those are the recommended permissions.