I wrote a small #Ansible playbook to automate updating openssh to the latest available version on multiple hosts (Works on Debian and EL based distributions):

https://gist.github.com/chofstede/c076ededc4fbf0478740473542af98c3

❯ ansible-playbook -i inventory patch_openssh.yml

Just sharing this here, in case, someone might find it helpful. Use at your own risk.

#linux #openssh #cve20246387 #rce #sysadmin #security #vulnerability

patch_openssh.yml

GitHub Gist: instantly share code, notes, and snippets.

Gist