UKCloud / openshift-deployment-ansible

3 stars 1 forks source link

Feature/block root ssh #108

Closed k8soneill closed 5 years ago

k8soneill commented 5 years ago

Adds a postedeployment task that blocks root access via SSH. Tested in a deployment. If approved and merged I will cherrypick the commit to v3.11 branch too.

k8soneill commented 5 years ago

Changed regex expression so it now only matches desired line, also backs up sshd_config file. Tested in deployment.