Manually deleting known SSH server keys

You have the option of specifically deleting SSH keys for external systems from your device. This may be required if, for example, if the SSH key of the external server has changed and your device refuses to connect to this system because of an outdated SSH key. To do this, use the sshkeygen command in combination with the parameter -R:

sshkeygen [-?|-h] [-t (dsa|rsa|ecdsa)] -R <Host>
-?, -h
Displays a brief help text about the available parameters
-t (dsa|rsa|ecdsa)
This optional parameter specifies the type of key that the device deletes. If no type is specified, the command deletes all SSH keys for the specified host.
-R <Host>
Use this parameter to specify the IP address or DNS name of the external system for which the outdated SSH key should be deleted from your device.
Note: To delete the complete list of all known SSH server keys at once, delete the file ssh_known_hosts from the file system of your device.

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo