From c072ab8ef19139da48caeea834f45e72f1dd82ca Mon Sep 17 00:00:00 2001 From: Jack Yang Date: Thu, 17 Sep 2020 13:40:26 -0400 Subject: [PATCH] add ssh config file --- config/ssh_config | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 config/ssh_config diff --git a/config/ssh_config b/config/ssh_config new file mode 100644 index 0000000..cfbb991 --- /dev/null +++ b/config/ssh_config @@ -0,0 +1,30 @@ +# Bare bone configuration +Port 2222 +ListenAddress 0.0.0.0 +Protocol 2 +HostKey /etc/ssh/ssh_host_rsa_key +HostKey /etc/ssh/ssh_host_ecdsa_key +HostKey /etc/ssh/ssh_host_ed25519_key +UsePrivilegeSeparation no +SyslogFacility AUTH +LogLevel INFO +LoginGraceTime 120 +PermitRootLogin no +AllowUsers jacky +StrictModes yes +RSAAuthentication yes +PubkeyAuthentication yes +IgnoreRhosts yes +RhostsRSAAuthentication no +HostbasedAuthentication no +PermitEmptyPasswords no +ChallengeResponseAuthentication no +PasswordAuthentication yes +X11Forwarding yes +X11DisplayOffset 10 +PrintMotd no +PrintLastLog yes +TCPKeepAlive yes +AcceptEnv LANG LC_* +Subsystem sftp /usr/lib/openssh/sftp-server +UsePAM yes \ No newline at end of file