1 # $NetBSD: sshd_config.in,v 1.1 2011/02/14 15:14:00 pooka Exp $
7 # Provide information to the user in case something goes wrong.
10 # The host key. It lives in the work directory because we need to set
11 # very strict permissions on it and cannot modify the copy on the source
13 HostKey @WORKDIR@/ssh_host_key
15 # The authorized keys file we set up during the test to allow the client
16 # to safely log in. We need to disable strict modes because ATF_WORKDIR
17 # usually lives in /tmp, which has 1777 permissions and are not liked by
19 AuthorizedKeysFile @WORKDIR@/authorized_keys
22 # Some settings to allow user runs of sshd.
23 PidFile @WORKDIR@/sshd.pid
25 UsePrivilegeSeparation no
27 # The root user should also be able to run the tests.
30 # Be restrictive about access to the temporary server. Only allow key-based
32 ChallengeResponseAuthentication no
33 GSSAPIAuthentication no
34 HostbasedAuthentication no
35 KerberosAuthentication no
38 PasswordAuthentication no
39 PubkeyAuthentication yes