Cleanup ssh authorized keys types

Optimize file creations, deletions and writes.

Resolve #829.
3 jobs for cleanup/ssh-auth-keys-types in 1 minute and 6 seconds (queued for 11 seconds)
latest
Status Job ID Name Coverage
  Test
passed #8405
pycodestyle

00:00:18

passed #8404
shellcheck

00:00:23

passed #8406
unit_tests

00:00:23