<commit_before>= Linux Security

There are a few things one should change to make a new centos installation more secure. They are:

. Disable root login from sshd
. Allow authentication only through pre-configured ssh keys.

First, edit /etc/ssh/sshd_config  (sudo vi /etc/ssh/sshd_config), and change 

....
#PermitRootLogin yes
#AuthorizedKeysFile      .ssh/.authorized_keys
....
to
....<commit_msg>Update 2016-09-05-Linux-Security.adoc<commit_after>= Linux Security

There are a few things one should change to make a new centos installation more secure. They include:

. Disable root login from sshd
. Allow authentication only through pre-configured ssh keys.

First, edit /etc/ssh/sshd_config  (sudo vi /etc/ssh/sshd_config), and change 

....
#PermitRootLogin yes
#AuthorizedKeysFile      .ssh/.authorized_keys
....
to
....
{'fraction_non_alphanumeric': 0.09518072289156626, 'fraction_numerical': 0.00963855421686747, 'mean_word_length': 3.591160220994475, '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': '7643166', 'n_tokens_mistral': 268, 'n_tokens_neox': 241, 'n_words': 93}