Closed
Description
- Gitea version (or commit ref): master
- Git version: 2.8.3
- Operating system: gitea/gitea Docker Image | Alpine 3.4
- Database (use
[x]
):- PostgreSQLMySQLSQLite
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.
Activity
redradrat commentedon Dec 12, 2016
To clarify:
gogs responds to the ssh login with
Which is the expected response, and confirms the sshd config.
bkcsoft commentedon Dec 12, 2016
@tboerger @xinity IIRC you guys knows the docker-image best
tboerger commentedon Dec 13, 2016
Will get into that directly when I'm launching try.gitea.io
tboerger commentedon Dec 14, 2016
So #386 will solve this issue. But be warned that we would like to restructure some of the volume directories because it got currently a pretty weird too deep nested structure.