Hello, list.
In one of my servers I have a hundred of sites, updates of them
maintained via jenkins.
now I want to change configuration of the server so that sites will
belong each to its own user, and
only this user will have permissions to write the files. permissions
will be: site:site, 755 on dirs, 644 on files.
i know that jenkins can handle this via ssh credentials plugin. what I
do not want is to add the
credentials manually, because this is error prone. therefore I am
looking for a way to either add credentials with ssh keys programmatically
or, generate ssh keys directly from jenkins. is this possible?
also, whatever way you can advice for me to accomplish task.
thank you.