diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config new file mode 100644 index 0000000..54bd5af --- /dev/null +++ b/etc/ssh/sshd_config @@ -0,0 +1,26 @@ +Port 46571 +AddressFamily inet +Protocol 2 +HostKey /etc/ssh/ssh_host_ecdsa_key +SyslogFacility AUTHPRIV +PermitRootLogin no +AuthorizedKeysFile .ssh/authorized_keys +PasswordAuthentication no +ChallengeResponseAuthentication no +GSSAPIAuthentication no +GSSAPICleanupCredentials no +GSSAPIStrictAcceptorCheck no +GSSAPIKeyExchange no +UsePAM yes +X11Forwarding yes +TCPKeepAlive yes +ClientAliveInterval 60 +UseDNS no +AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES +AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT +AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE +AcceptEnv XMODIFIERS +Subsystem sftp /usr/libexec/openssh/sftp-server + +Match User kairee + PasswordAuthentication yes \ No newline at end of file