CmdID / aws / aws lightsail
aws lightsail delete-known-host-keys
Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--instance-nameThe name of the instance for which you want to reset the host key or certificate.