+A new restricted command has been added: [assetForgetHostKey](https://ovh.github.io/the-bastion/plugins/restricted/assetForgetHostKey.html), which is the bastion-wide version of the [selfForgetHostKey](https://ovh.github.io/the-bastion/plugins/restricted/selfForgetHostKey.html) command. In other words, it removes a given asset's hostkey from all the bastion accounts' personal `known_hosts` file. This is particularely useful when a given asset is reinstalled or its IP is being reallocated, and you've left the bastion-wide default of `StrictHostKeyChecking` to 'ask': in that case, if this command is not used after the asset hostkeys have changed, each account will have to use [selfForgetHostKey](https://ovh.github.io/the-bastion/plugins/restricted/selfForgetHostKey.html) on their own, to tell the bastion that the previously known hostkey should be forgotten.
0 commit comments