##// END OF EJS Templates
chore(changelog): generated a changelog for 5.4.0
chore(changelog): generated a changelog for 5.4.0

File last commit:

r109:2a63b163
r348:a04db064 v5.4.0
Show More
sshd_config
28 lines | 916 B | text/plain | TextLexer
Port 22
ChallengeResponseAuthentication no
HostKey /etc/rhodecode/conf/ssh/ssh_host_rsa_key
HostKey /etc/rhodecode/conf/ssh/ssh_host_ecdsa_key
HostKey /etc/rhodecode/conf/ssh/ssh_host_ed25519_key
## Enable DEBUG log. This but this may help you debug any issue while enabling SSHD for the first time
#LogLevel DEBUG3
Protocol 2
PermitRootLogin no
PasswordAuthentication no
MaxStartups 100:30:200
AllowUsers rhodecode
PrintMotd no
PubkeyAuthentication yes
AuthorizedKeysFile /etc/rhodecode/conf/ssh/authorized_keys /etc/rhodecode/conf/ssh/authorized_keys_rhodecode
## Provide a path to store PID file which is accessible by normal user for write purpose
PidFile /run/sshd/sshd.pid
# Fixes: User USERNAME not allowed because account is locked
# With "UsePAM yes" even if account gets locked because of password the key still works
UsePAM yes
# Disabling use DNS in ssh since it tends to slow connecting
UseDNS no