Page 1 of 1

Monthly password change for shared SSH key user

Posted: Tue Oct 03, 2017 11:21 am
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

Re: Monthly password change for shared SSH key user

Posted: Tue Oct 03, 2017 12:42 pm
by tmcdonald
You could, but honestly the right tool for that job is probably something like Ansible, Puppet, Chef, or Salt.