Skip to content

Allow override of SSH key glob

Administrator requested to merge ssh-key-glob-selection into master

I have a lot of SSH keys in my ~/.ssh folder. Thirty or forty or so. I don't want my newly-built images to be able to be logged in to using any of those keys -- just some subset.

So I've added a config file entry, ssh_key_glob, that defaults to but allows overriding of ~/.ssh/id_*.pub as the glob for finding public-keys to embed in the image.

Merge request reports

Loading