I want to force update ssh host key for all entire installed assets using an API.
But I didn't find anything about that.
If the Assets already exists in Safeguard:
- You can use the Safeguard PowerShell module to run the following commandlet:
For more information on using Safeguard Powershell module, please see the link here:
Yes you would need to script it, possibly with a list of all Linux assets. It is not possible to use wildcard.
You can use the following commandlet to list all the assets in Safeguard then create a csv list of only the Linux systems which you need to discover the SSH host key against:
Get-SafeguardAsset -Fields Id,Name,platform.platformfamily