ssh pki setup for servers



  • I worked on this most of yesterday and today so far. The project is done and 100% working, but of course could be improved on.

    https://github.com/wayneworkman/ssh-pki-setup

    This will help you setup certificate based authentication and aliases for your servers (your fog storage nodes).

    For FOG, I would recommend running this on the fog web server. Define all your storage nodes appropriately within hosts.csv, and run. This way, once you’re inside the main, you can then use aliases very easily to go to all the storage nodes to run updates.

    I’ll be using this tomorrow at work to, very quickly, setup cert based authentication for the 15-server fog system we have (which has been quite brutal to update because each server has a different and strong password).

    Thanks @Tom-Elliott for helping out, too.



  • For those of you that may have tried this with CentOS 7, re-pull and it’ll work now.

    This works with:

    • Debian
    • Ubuntu
    • Fedora
    • CentOS

 

631
Online

5.4k
Users

12.6k
Topics

118.9k
Posts