diff options
Diffstat (limited to 'scripts/sshd_config')
-rw-r--r-- | scripts/sshd_config | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/scripts/sshd_config b/scripts/sshd_config new file mode 100644 index 0000000..256d2c0 --- /dev/null +++ b/scripts/sshd_config @@ -0,0 +1,40 @@ +Port 22 +ListenAddress :: +ListenAddress 0.0.0.0 +Protocol 2 + +# HostKeys for protocol version 2 +HostKey /etc/ssh/ssh_host_rsa_key +HostKey /etc/ssh/ssh_host_dsa_key +UsePrivilegeSeparation no + +# Lifetime and size of ephemeral version 1 server key +KeyRegenerationInterval 3600 +ServerKeyBits 4096 + +# Authentication: +LoginGraceTime 120 +PermitRootLogin yes +StrictModes yes +RSAAuthentication yes +PubkeyAuthentication yes +AuthorizedKeysFile /etc/ssh/authorized_keys + +IgnoreRhosts yes +RhostsRSAAuthentication no +HostbasedAuthentication no + +PermitEmptyPasswords no +ChallengeResponseAuthentication no +PasswordAuthentication no + +X11Forwarding no +PrintMotd no +PrintLastLog no +TCPKeepAlive yes +UseLogin no + +AcceptEnv LANG LC_* +ForceCommand /bin/sh + +UsePAM no |