Examples/08-Rotate-SSHCAKey.ps1
|
<# Rotates the SIA SSH CA key. Only deactivate the previous version after every target host has been redeployed with the new public key - sessions signed against a deactivated version will stop working. #> Update-SIASSHCAPublicKey $script = New-SIASSHCAPublicKeyScript $script | Format-List * Write-Host 'Deploy the new CA public key to every target, then run:' Write-Host ' Disable-SIASSHCAPublicKey' |