<commit_before>override['openssh']['server']['listen_address'] = %w(0.0.0.0:22 [::]:22)
override['openssh']['server']['password_authentication'] = 'no'
override['openssh']['server']['match']['Host *']['password_authentication'] = 'no'
override['openssh']['server']['pubkey_authentication'] = 'yes'
override['openssh']['server']['match']['Host *']['pubkey_authentication'] = 'yes'
override['openssh']['server']['challenge_response_authentication'] = 'no'
override['openssh']['server']['permit_root_login'] = 'no'
override['openssh']['server']['kex_algorithms'] = %w(
  curve25519-sha256<EMAIL>
  diffie-hellman-group-exchange-sha256
).join(',')
override['openssh']['server']['protocol'] = '2'
override['openssh']['server']['host_key'] = %w(
  /etc/ssh/ssh_host_ed25519_key
  /etc/ssh/ssh_host_rsa_key
)
override['openssh']['server']['ciphers'] = %w(
  chacha20-poly1305<EMAIL>
  <EMAIL>
  <EMAIL>
  aes256-ctr
  aes192-ctr
  aes128-ctr
).join(',')
override['openssh']['server']['m_a_cs'] = %w(
  hmac-sha2-512-etm@openssh.com
  hmac-sha2-256-etm@openssh.com
  hmac-ripemd160-etm@<EMAIL>
  umac-128-etm<EMAIL>.<EMAIL>
  hmac-sha2-512
  hmac-sha2-256
  hmac-ripemd160
  umac-128<EMAIL>
).join(',')

override['users'] = [
  {
    'id' => 'hiro',
    'shell' => '/bin/zsh',
    'github_username' => 'BanzaiMan'
  },
  {
    'id' => 'piotr',
    'shell' => '/bin/zsh',
    'github_username' => 'drogus'
  },
  {
    'id' => 'emma',
    'shell' => '/bin/zsh',
    'github_username' => 'emdantrim'
  },
  {
    'id' => 'henrik',
    'shell' => '/bin/zsh',
    'github_username' => 'henrikhodne'
  },
  {
    'id' => 'josh',
    'shell' => '/bin/zsh',
    'github_username' => 'joshk'
  },
  {
    'id' => 'dan',
    'shell' => '/bin/zsh',
    'github_username' => 'meatballhat'
  },
  {
    'id' => 'konstantin',
    'shell' => '/bin/zsh',
    'github_username' => 'rkh'
  },
  {
    'id' => 'mathias',
    'shell' => '/bin/zsh',
    'github_username' => 'roidrage'
  },
  {
    'id' => 'brandon',
    'shell' => '/bin/zsh',
    'github_username' => 'solarce'
  },
  {
    'id' => 'sven',
    'shell' => '/bin/zsh',
    'github_username' => 'svenfuchs'
  },
  {
    'id' => 'igor',
    'shell' => '/bin/zsh',
    'github_username' => 'igorwwwwwwwwwwwwwwwwwwww'
  },
  {
    'id' => 'carmen',
    'shell' => '/bin/zsh',
    'github_username' => 'Lyoness'
  }
]

override['sudo']['users'] = override['users'].map do |u|
  {
    'name' => u['id'],
    'nopassword' => true
  }
end
<commit_msg>Ensure all internal users are in `sudo` group<commit_after>override['openssh']['server']['listen_address'] = %w(0.0.0.0:22 [::]:22)
override['openssh']['server']['password_authentication'] = 'no'
override['openssh']['server']['match']['Host *']['password_authentication'] = 'no'
override['openssh']['server']['pubkey_authentication'] = 'yes'
override['openssh']['server']['match']['Host *']['pubkey_authentication'] = 'yes'
override['openssh']['server']['challenge_response_authentication'] = 'no'
override['openssh']['server']['permit_root_login'] = 'no'
override['openssh']['server']['kex_algorithms'] = %w(
  curve25519-sha256@libssh.org
  diffie-hellman-group-exchange-sha256
).join(',')
override['openssh']['server']['protocol'] = '2'
override['openssh']['server']['host_key'] = %w(
  /etc/ssh/ssh_host_ed25519_key
  /etc/ssh/ssh_host_rsa_key
)
override['openssh']['server']['ciphers'] = %w(
  chacha20-poly1305<EMAIL>
  aes256-gcm<EMAIL>
  aes12<EMAIL>
  aes256-ctr
  aes192-ctr
  aes128-ctr
).join(',')
override['openssh']['server']['m_a_cs'] = %w(
  hmac-sha2-512-etm@<EMAIL>.<EMAIL>
  hmac-sha2-256-etm@<EMAIL>.<EMAIL>
  hmac-ripemd160-etm<EMAIL>
  umac-128-<EMAIL>
  hmac-sha2-512
  hmac-sha2-256
  hmac-ripemd160
  um<EMAIL>
).join(',')

override['travis_users'] = [
  %w(<NAME>),
  %w(<NAME>),
  %w(dan meatballhat),
  %w(emma emdantrim),
  %w(<NAME>),
  %w(hiro BanzaiMan),
  %w(igor igorwwwwwwwwwwwwwwwwwwww),
  %w(<NAME>),
  %w(konstantin rkh),
  %w(<NAME>),
  %w(piotr drogus),
  %w(<NAME>)
].map do |username, github_username|
  {
    'id' => username,
    'shell' => '/bin/zsh',
    'github_username' => github_username,
    'groups' => %w(sudo)
  }
end

{'fraction_non_alphanumeric': 0.2438613384689456, 'fraction_numerical': 0.03322099181511796, 'mean_word_length': 4.532623169107856, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 5, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3133737', 'n_tokens_mistral': 1814, 'n_tokens_neox': 1698, 'n_words': 217}