]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/netbsd-tests/fs/psshfs/sshd_config.in
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / netbsd-tests / fs / psshfs / sshd_config.in
1 # $NetBSD: sshd_config.in,v 1.2 2011/02/11 13:19:46 pooka Exp $
2
3 # Basic settings.
4 Port 10000
5 Protocol 2
6
7 # Provide information to the user in case something goes wrong.
8 LogLevel DEBUG1
9
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
12 # directory.
13 HostKey @WORKDIR@/ssh_host_key
14
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
18 # sshd.
19 AuthorizedKeysFile @WORKDIR@/authorized_keys
20 StrictModes no
21
22 # Some settings to allow user runs of sshd.
23 PidFile @WORKDIR@/sshd.pid
24 Subsystem sftp @WORKDIR@/sftp-server
25 UsePam no
26 UsePrivilegeSeparation no
27
28 # The root user should also be able to run the tests.
29 PermitRootLogin yes
30
31 # Be restrictive about access to the temporary server.  Only allow key-based
32 # authentication.
33 ChallengeResponseAuthentication no
34 GSSAPIAuthentication no
35 HostbasedAuthentication no
36 KerberosAuthentication no
37 MaxAuthTries 1
38 MaxStartups 1
39 PasswordAuthentication no
40 PubkeyAuthentication yes