Skip to content
Snippets Groups Projects
Commit a0704456 authored by DJ Mountney's avatar DJ Mountney
Browse files

Merge branch '4150-use-AuthorizedKeysCommand-in-Docker-builds' into 'master'

Use AuthorizedKeysCommand in Docker builds

Closes #4150

See merge request gitlab-org/omnibus-gitlab!3191
parents a2e9812d 3d43a0b5
No related branches found
No related tags found
No related merge requests found
---
title: Use AuthorizedKeysCommand in Docker builds
merge_request: 3191
author:
type: performance
......@@ -12,6 +12,8 @@
PrintLastLog no
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys /gitlab-data/ssh/authorized_keys
AuthorizedKeysCommand /opt/gitlab/embedded/service/gitlab-shell/bin/gitlab-shell-authorized-keys-check git %u %k
AuthorizedKeysCommandUser git
# Fix: User username not allowed because account is locked
# With "UsePAM yes" the "!" is seen as a password disabled account and not fully locked so ssh public key login works
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment