diff options
| author | Lorenz Brun <lorenz@dolansoft.org> | 2021-01-18 18:36:25 +0000 |
|---|---|---|
| committer | Nick Thomas <nick@gitlab.com> | 2021-01-18 18:36:25 +0000 |
| commit | 2a410f31b633ec5a994ecf1ff39dc8ffb9c6f828 (patch) | |
| tree | 6ccc8b187438d1a218ee0ec833c339fa8faa8dd1 /config.yml.example | |
| parent | 0e5660917f0316a2197ffc5add7a8f01d3e428be (diff) | |
| download | gitlab-shell-2a410f31b633ec5a994ecf1ff39dc8ffb9c6f828.tar.gz | |
RFC: Simple built-in SSH server
Diffstat (limited to 'config.yml.example')
| -rw-r--r-- | config.yml.example | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config.yml.example b/config.yml.example index 645cb88..6977ef2 100644 --- a/config.yml.example +++ b/config.yml.example @@ -61,3 +61,15 @@ audit_usernames: false # Distributed Tracing. GitLab-Shell has distributed tracing instrumentation. # For more details, visit https://docs.gitlab.com/ee/development/distributed_tracing.html # gitlab_tracing: opentracing://driver + +# This section configures the built-in SSH server. Ignored when running on OpenSSH. +sshd: + # Address which the SSH server listens on. Defaults to [::]:22. + listen: "[::]:22" + # Maximum number of concurrent sessions allowed on a single SSH connection. Defaults to 10. + concurrent_sessions_limit: 10 + # SSH host key files. + host_key_files: + - /run/secrets/ssh-hostkeys/ssh_host_rsa_key + - /run/secrets/ssh-hostkeys/ssh_host_ecdsa_key + - /run/secrets/ssh-hostkeys/ssh_host_ed25519_key
\ No newline at end of file |
