Skip to content

PasswordAuth not disabled #8

@daef

Description

@daef

docker-entrypoint.sh:10 tries to disable password authentication, but fails because sshd_config contains whitespace+ between # and P

allowing for optional spaces fixes this:

sed -i "s/#\s*PasswordAuthentication yes/PasswordAuthentication no/g" /etc/ssh/sshd_config

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