mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
388 B
17 lines
388 B
9 years ago
|
Port 22
|
||
|
AddressFamily any
|
||
|
ListenAddress 0.0.0.0
|
||
|
ListenAddress ::
|
||
|
Protocol 2
|
||
|
LogLevel INFO
|
||
|
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
|