Skip to content

SSH not accessible / configuration issue? #377

Closed
@redradrat

Description

@redradrat
  • Gitea version (or commit ref): master
  • Git version: 2.8.3
  • Operating system: gitea/gitea Docker Image | Alpine 3.4
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite

Description

There might be something wrong with the sshd config on the gitea docker image. Spinning up a fresh container and adding my ssh key, logging in with

ssh -l git INSTANCEADDRESS -p PORT

is not possible.

Output sshd.log

rexec line 21: Unsupported option PrintLastLog
User git not allowed because account is locked
input_userauth_request: invalid user git
Failed none for invalid user git from XXX.XXX.XXX.XXX port XXXXX ssh2
Failed publickey for invalid user git from XXX.XXX.XXX.XXX port XXXXX ssh2
Connection closed by XXX.XXX.XXX.XXX port XXXXX

With the latest gogs image that is not the case.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions