Method: Aws::Lightsail::Client#delete_known_host_keys
- Defined in:
- lib/aws-sdk-lightsail/client.rb
#delete_known_host_keys(params = {}) ⇒ Types::DeleteKnownHostKeysResult
Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance. This operation enables the Lightsail browser-based SSH or RDP clients to connect to the instance after a host key mismatch.
Perform this operation only if you were expecting the host key or certificate mismatch or if you are familiar with the new host key or certificate on the instance. For more information, see [Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP client].
4713 4714 4715 4716 |
# File 'lib/aws-sdk-lightsail/client.rb', line 4713 def delete_known_host_keys(params = {}, = {}) req = build_request(:delete_known_host_keys, params) req.send_request() end |