aboutsummaryrefslogblamecommitdiff
path: root/modules/base_installation/manifests/ssh.pp
blob: d6317d5b7cf0a79f2bcab6cc59494c694eb19fec (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                         
                              




                                                                                 

                                               



                       
class base_installation::ssh inherits base_installation {
  class { 'ssh::server':
     storeconfigs_enabled => false,
     options              => {
        'AcceptEnv'                       => undef,
        'X11Forwarding'                   => 'yes',
        'PrintMotd'                       => 'no',
        'ChallengeResponseAuthentication' => 'no',
        'Subsystem'                       => 'sftp /usr/lib/openssh/sftp-server',
     },
     require              => Package["openssh"]
  }

  contain "ssh::server"
}