Deleting server public keys saved in the public key file on the SCP client

About deleting server public keys saved in the public key file on the SCP client

When the SCP client switches to FIPS mode but the locally saved server public key does not comply with FIPS, the client cannot connect to the server. To connect to the server, delete the server public key saved on the client and make sure a FIPS-compliant public key has been generated on the server.

Procedure

  1. Enter system view.

    system-view

  2. Delete server public keys saved in the public key file on the SCP client.

    delete ssh client server-public-key [ server-ip ip-address ]