zax - 4.1.12-gentoo-z15
[anomen-kernel-config.git] / raspi / customs / etc / ssh / sshd_config
blobe0eedb92c9ab542a5b38acba90b53fe0d062a15d
1 # Package generated configuration file
2 # See the sshd_config(5) manpage for details
4 # What ports, IPs and protocols we listen for
5 Port 22
6 # Use these options to restrict which interfaces/protocols sshd will bind to
7 #ListenAddress ::
8 #ListenAddress 0.0.0.0
9 Protocol 2
10 # HostKeys for protocol version 2
11 HostKey /etc/ssh/ssh_host_rsa_key
12 HostKey /etc/ssh/ssh_host_dsa_key
13 HostKey /etc/ssh/ssh_host_ecdsa_key
14 #Privilege Separation is turned on for security
15 UsePrivilegeSeparation yes
16 UseDNS no
18 # Lifetime and size of ephemeral version 1 server key
19 KeyRegenerationInterval 3600
20 ServerKeyBits 768
22 # Logging
23 SyslogFacility AUTH
24 LogLevel INFO
26 # Authentication:
27 LoginGraceTime 120
28 PermitRootLogin no
29 StrictModes yes
31 RSAAuthentication yes
32 PubkeyAuthentication yes
33 #AuthorizedKeysFile     %h/.ssh/authorized_keys
35 # Don't read the user's ~/.rhosts and ~/.shosts files
36 IgnoreRhosts yes
37 # For this to work you will also need host keys in /etc/ssh_known_hosts
38 RhostsRSAAuthentication no
39 # similar for protocol version 2
40 HostbasedAuthentication no
41 # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
42 #IgnoreUserKnownHosts yes
44 # To enable empty passwords, change to yes (NOT RECOMMENDED)
45 PermitEmptyPasswords no
47 # Change to yes to enable challenge-response passwords (beware issues with
48 # some PAM modules and threads)
49 ChallengeResponseAuthentication no
51 # Change to no to disable tunnelled clear text passwords
52 #PasswordAuthentication yes
54 # Kerberos options
55 #KerberosAuthentication no
56 #KerberosGetAFSToken no
57 #KerberosOrLocalPasswd yes
58 #KerberosTicketCleanup yes
60 # GSSAPI options
61 #GSSAPIAuthentication no
62 #GSSAPICleanupCredentials yes
64 X11Forwarding yes
65 X11DisplayOffset 10
66 PrintMotd no
67 PrintLastLog yes
68 TCPKeepAlive yes
69 #UseLogin no
70 GatewayPorts=yes
72 #MaxStartups 10:30:60
73 #Banner /etc/issue.net
75 # Allow client to pass locale environment variables
76 # AcceptEnv LANG LC_*
78 Subsystem sftp /usr/lib/openssh/sftp-server
80 # Set this to 'yes' to enable PAM authentication, account processing,
81 # and session processing. If this is enabled, PAM authentication will
82 # be allowed through the ChallengeResponseAuthentication and
83 # PasswordAuthentication.  Depending on your PAM configuration,
84 # PAM authentication via ChallengeResponseAuthentication may bypass
85 # the setting of "PermitRootLogin without-password".
86 # If you just want the PAM account and session checks to run without
87 # PAM authentication, then enable this but set PasswordAuthentication
88 # and ChallengeResponseAuthentication to 'no'.
89 UsePAM yes