palantir/jamf-pro-scripts

quick question on where to specify the ssh key path for deployment

Closed this issue · 1 comments

New to JAMF and found your scripts - where do I place an ssh public key file to be consumed by your deployment script?

specific script in question: scripts/Update SSH Public Key.sh

You can put it anywhere you like, then just include the full file path as script parameter $6. Uploading the SSH key is left as an exercise to the Jamf Pro admin to avoid baking sensitive information directly into the script, but you could bundle it into an installer package (using tools like Jamf Composer or munkipkg) then deploy it with a policy that runs this script afterward.

Hope that helps!