From aa0265a1333a73a50e9a42e2b01413a4c5a6c8c8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 17 Jul 2019 15:02:32 +0200 Subject: [PATCH] openssh-server --- in/index.rst | 1 + in/personal/openssh-server/index.rst | 42 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 in/personal/openssh-server/index.rst diff --git a/in/index.rst b/in/index.rst index cdf4e7c..2890602 100644 --- a/in/index.rst +++ b/in/index.rst @@ -25,6 +25,7 @@ RTFD :caption: Personal :maxdepth: 2 + personal/openssh-server/index personal/server/index .. toctree:: diff --git a/in/personal/openssh-server/index.rst b/in/personal/openssh-server/index.rst new file mode 100644 index 0000000..b82c522 --- /dev/null +++ b/in/personal/openssh-server/index.rst @@ -0,0 +1,42 @@ +openssh-server +============== + +:: + + LogLevel INFO + StrictModes yes + Subsystem sftp internal-sftp + UsePrivilegeSeparation sandbox + + AllowTcpForwarding yes + Ciphers aes256-gcm@openssh.com + Compression no + MaxStartups 10:30:50 + PermitTunnel no + Port 22 + TCPKeepAlive yes + ClientAliveInterval 30 + X11Forwarding no + + AuthorizedKeysFile .ssh/authorized_keys + ChallengeResponseAuthentication no + FingerprintHash sha256 + HostbasedAuthentication no + IgnoreRhosts yes + HostKey /etc/ssh/ssh_host_ecdsa_key + HostKeyAlgorithms ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp521 + KexAlgorithms diffie-hellman-group18-sha512,diffie-hellman-group16-sha512 + LoginGraceTime 60 + MACs hmac-sha2-512-etm@openssh.com + PasswordAuthentication no + PermitEmptyPasswords no + PermitRootLogin no + PubkeyAuthentication yes + UseDNS no + UsePAM yes + + DebianBanner no + PrintLastLog yes + PrintMotd yes + Banner none + VersionAddendum none