diff options
author | 无闻 <u@gogs.io> | 2015-10-02 11:31:12 -0400 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2015-10-02 11:31:12 -0400 |
commit | 655b69cb1f7804462f9ce50314446d00bebbf345 (patch) | |
tree | 3eff9e67b20a6c1ed162eb9d1f4536b65451664d /docker/sshd_config | |
parent | d86c785410e8ab5f81af4dff5542339b37977780 (diff) | |
parent | fcb1f4ec073d3d9eb8bd192938fd2364485d34c4 (diff) |
Merge pull request #1730 from 0rax/develop
New approach to Gogs Docker Container
Diffstat (limited to 'docker/sshd_config')
-rw-r--r-- | docker/sshd_config | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/sshd_config b/docker/sshd_config new file mode 100644 index 00000000..9b62f148 --- /dev/null +++ b/docker/sshd_config @@ -0,0 +1,17 @@ +Port 22 +AddressFamily any +ListenAddress 0.0.0.0 +ListenAddress :: +Protocol 2 +LogLevel INFO +HostKey /data/ssh/ssh_host_key +HostKey /data/ssh/ssh_host_rsa_key +HostKey /data/ssh/ssh_host_dsa_key +HostKey /data/ssh/ssh_host_ecdsa_key +HostKey /data/ssh/ssh_host_ed25519_key +PermitRootLogin no +AuthorizedKeysFile .ssh/authorized_keys +PasswordAuthentication no +UsePrivilegeSeparation no +PermitUserEnvironment yes +AllowUsers git |