I'm looking for a script or program to facilitate the following scenario:
In our home network, there are lots of devices I can SSH in (all running a flavour of Linux). There are mobile phones, VCRs, our router, various laptops, NAS, VPS and so on, some 20 devices altogether.
I'm looking for a tool that lets me manage my family member's SSH keys on the devices easily, i.e.
- Display whose public key is on which account on which device
- Let me easily replace an old key with a new one across all devices
- Install a new key across several devices
We don't have LDAP or NIS in place, because I don't have root on all devices (phones, VPS).
I believe that this is a common problem / scenario that already has multiple solutions, but I was unable to find suitable stuff on the internet. Config management tools (puppet, chef, …) seem like to much overhead, although I haven't looked into them yet. Manually scripting something would be my last resort, but as stated above, I'm sure there are already tools out there.
I prefer commandline tools (perhaps curses-based), but I'd also happily run any other stuff, be it Python, Perl or Ruby scripts, a Rails or GNOME app, whatever.