Monthly password change for shared SSH key user

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kevinmjacobsen
Posts: 34
Joined: Thu Oct 13, 2016 8:25 am
Location: Remote

Monthly password change for shared SSH key user

Post by kevinmjacobsen »

Hey all,

I have a requirement to change my SSH service account password monthly. If I don't then my monitoring stops as the user, even though SSH Key's are being used, password is expired.

Is there a method that I can easily change the password via something like check_by_ssh? or do you have a suggestion for a script that I can basically implement as a monitor that runs every 25 days or 30 days?

Thanks,

Kevin
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monthly password change for shared SSH key user

Post by tmcdonald »

You could, but honestly the right tool for that job is probably something like Ansible, Puppet, Chef, or Salt.
Former Nagios employee
Locked