test target: launch user sshd for opening term
[src/xds/xds-server.git] / test / fixtures / ssh / sshd_config
1 #       $OpenBSD: sshd_config,v 1.102 2018/02/16 02:32:40 djm Exp $
2
3 # This is the sshd server system-wide configuration file.  See
4 # sshd_config(5) for more information.
5
6 # This sshd was compiled with PATH=/usr/local/sbin:/usr/local/bin:/usr/bin
7
8 # The strategy used for options in the default sshd_config shipped with
9 # OpenSSH is to specify options with their default value where
10 # possible, but leave them commented.  Uncommented options override the
11 # default value.
12
13 #Port 22222
14 #AddressFamily any
15 #ListenAddress 0.0.0.0
16 #ListenAddress ::
17
18 #HostKey /tmp/sshtest/ssh_host_rsa_key
19 #HostKey /tmp/sshtest/ssh_host_ecdsa_key
20 #HostKey /tmp/sshtest/ssh_host_ed25519_key
21
22 # Ciphers and keying
23 #RekeyLimit default none
24
25 # Logging
26 #SyslogFacility AUTH
27 #LogLevel INFO
28
29 # Authentication:
30
31 #LoginGraceTime 2m
32 #PermitRootLogin prohibit-password
33 StrictModes no
34 #MaxAuthTries 6
35 #MaxSessions 10
36
37 PubkeyAuthentication yes
38
39 # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
40 # but this is overridden so installations will only check .ssh/authorized_keys
41 #AuthorizedKeysFile     /tmp/sshtest/authorized_keys
42
43 #AuthorizedPrincipalsFile none
44
45 #AuthorizedKeysCommand none
46 #AuthorizedKeysCommandUser nobody
47
48 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
49 HostbasedAuthentication no
50 # Change to yes if you don't trust ~/.ssh/known_hosts for
51 # HostbasedAuthentication
52 IgnoreUserKnownHosts yes
53 # Don't read the user's ~/.rhosts and ~/.shosts files
54 IgnoreRhosts yes
55
56 # To disable tunneled clear text passwords, change to no here!
57 PasswordAuthentication yes
58 PermitEmptyPasswords yes
59
60 # Change to no to disable s/key passwords
61 ChallengeResponseAuthentication no
62 # Kerberos options
63 #KerberosAuthentication no
64 #KerberosOrLocalPasswd yes
65 #KerberosTicketCleanup yes
66 #KerberosGetAFSToken no
67
68 # GSSAPI options
69 #GSSAPIAuthentication no
70 #GSSAPICleanupCredentials yes
71
72 # Set this to 'yes' to enable PAM authentication, account processing,
73 # and session processing. If this is enabled, PAM authentication will
74 # be allowed through the ChallengeResponseAuthentication and
75 # PasswordAuthentication.  Depending on your PAM configuration,
76 # PAM authentication via ChallengeResponseAuthentication may bypass
77 # the setting of "PermitRootLogin without-password".
78 # If you just want the PAM account and session checks to run without
79 # PAM authentication, then enable this but set PasswordAuthentication
80 # and ChallengeResponseAuthentication to 'no'.
81 UsePAM yes
82
83 #AllowAgentForwarding yes
84 #AllowTcpForwarding yes
85 #GatewayPorts no
86 #X11Forwarding no
87 #X11DisplayOffset 10
88 #X11UseLocalhost yes
89 #PermitTTY yes
90 PrintMotd no # pam does that
91 #PrintLastLog yes
92 #TCPKeepAlive yes
93 #UseLogin no
94 PermitUserEnvironment yes
95 #Compression delayed
96 #ClientAliveInterval 0
97 #ClientAliveCountMax 3
98 #UseDNS no
99 #PidFile /run/sshd.pid
100 #MaxStartups 10:30:100
101 #PermitTunnel no
102 #ChrootDirectory none
103 #VersionAddendum none
104
105 # no default banner path
106 #Banner none
107
108 # override default of no subsystems
109 Subsystem       sftp    /usr/lib/ssh/sftp-server
110
111 # Example of overriding settings on a per-user basis
112 #Match User anoncvs
113 #       X11Forwarding no
114 #       AllowTcpForwarding no
115 #       PermitTTY no
116 #       ForceCommand cvs server