Skip to content

WARNING: UNPROTECTED PRIVATE KEY FILE! #7

@trinity-geology-unstable

Description

Hi,

I am getting this error message in the logs of this container. It appears to be preventing any SSH access. For the past 4 weeks it was running fine until this message appeared without any input from me. Can somebody help?

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0660 for '/etc/ssh/ssh_host_ed25519_key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.

I have the container running with Portainer on TrueNAS Scale. SSH key is supplied using a BORG_AUTHORIZED_KEYS environment value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions