| Index: modules/ssh/templates/sshd_config.erb |
| =================================================================== |
| --- a/modules/ssh/templates/sshd_config.erb |
| +++ b/modules/ssh/templates/sshd_config.erb |
| @@ -19,17 +19,17 @@ KeyRegenerationInterval 3600 |
| ServerKeyBits 768 |
| # Logging |
| SyslogFacility AUTH |
| LogLevel INFO |
| # Authentication: |
| LoginGraceTime 120 |
| -PermitRootLogin yes |
| +PermitRootLogin no |
| StrictModes yes |
| RSAAuthentication yes |
| PubkeyAuthentication yes |
| #AuthorizedKeysFile %h/.ssh/authorized_keys |
| # Don't read the user's ~/.rhosts and ~/.shosts files |
| IgnoreRhosts yes |
| @@ -43,33 +43,36 @@ HostbasedAuthentication no |
| # To enable empty passwords, change to yes (NOT RECOMMENDED) |
| PermitEmptyPasswords no |
| # Change to yes to enable challenge-response passwords (beware issues with |
| # some PAM modules and threads) |
| ChallengeResponseAuthentication no |
| # Change to no to disable tunnelled clear text passwords |
| -#PasswordAuthentication yes |
| +PasswordAuthentication no |
| # Kerberos options |
| #KerberosAuthentication no |
| #KerberosGetAFSToken no |
| #KerberosOrLocalPasswd yes |
| #KerberosTicketCleanup yes |
| # GSSAPI options |
| #GSSAPIAuthentication no |
| #GSSAPICleanupCredentials yes |
| -X11Forwarding yes |
| +AllowAgentForwarding no |
| +AllowTcpForwarding no |
| +X11Forwarding no |
| X11DisplayOffset 10 |
| PrintMotd no |
| PrintLastLog yes |
| TCPKeepAlive yes |
| +PermitUserEnvironment yes |
| #UseLogin no |
| #MaxStartups 10:30:60 |
| #Banner /etc/issue.net |
| # Allow client to pass locale environment variables |
| AcceptEnv LANG LC_* |