From 2eb5cea8578c2884c6f30fa379212bbfc1554bed Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 23 Jan 2015 19:19:58 +0100 Subject: Stuff --- data/sshd_config.template | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 data/sshd_config.template (limited to 'data/sshd_config.template') diff --git a/data/sshd_config.template b/data/sshd_config.template new file mode 100644 index 0000000..0a73779 --- /dev/null +++ b/data/sshd_config.template @@ -0,0 +1,34 @@ +Port %PORT% +Protocol 2 +HostKey /etc/ssh/ssh_host_rsa_key +HostKey /etc/ssh/ssh_host_dsa_key +HostKey /etc/ssh/ssh_host_ecdsa_key +UsePrivilegeSeparation yes +KeyRegenerationInterval 3600 +ServerKeyBits 768 +SyslogFacility AUTH +LogLevel INFO +LoginGraceTime 30 +PermitRootLogin yes +StrictModes yes +RSAAuthentication yes +PubkeyAuthentication yes +PasswordAuthentication %PASSWORDLOGIN% +AuthorizedKeysFile %h/.ssh/authorized_keys +IgnoreRhosts yes +RhostsRSAAuthentication no +HostbasedAuthentication no +PermitEmptyPasswords no +ChallengeResponseAuthentication no +X11Forwarding yes +X11DisplayOffset 10 +PrintMotd no +PrintLastLog yes +TCPKeepAlive yes +Banner /etc/issue.net +AcceptEnv LANG LC_* +Subsystem sftp /usr/lib/openssh/sftp-server +UsePAM yes +DenyUsers demo +UseDNS no + -- cgit v1.2.3-55-g7522