<commit_before>openssh-client:
  pkg:
    - installed

ssh:
  pkg.installed:
    - name: openssh-server
  service.running:
    - enable: True
    - watch:
      - file: /etc/ssh/sshd_config
      - pkg: ssh
  require:
    - group: login 

/etc/ssh/sshd_config:
  file.managed:
    - source: salt://sshd/sshd_config
    - user: root
    - mode: 644<commit_msg>Allow SSH port on the firewall.<commit_after>openssh-client:
  pkg:
    - installed

ssh:
  pkg.installed:
    - name: openssh-server
  service.running:
    - enable: True
    - watch:
      - file: /etc/ssh/sshd_config
      - pkg: ssh
  require:
    - group: login

/etc/ssh/sshd_config:
  file.managed:
    - source: salt://sshd/sshd_config
    - user: root
    - mode: 644

allow_ssh:
  ufw.allow:
    - name: '22'
    - enabled: true
    - require:
      - pkg: ufw
{'fraction_non_alphanumeric': 0.12545235223160434, 'fraction_numerical': 0.009650180940892641, 'mean_word_length': 1.9963898916967509, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '1819974', 'n_tokens_mistral': 343, 'n_tokens_neox': 308, 'n_words': 65}