After first login is enabled on an SSH client (SFTP client in this case), the client does not check the validity of the RSA, DSA, SM2 or ECC public key for the SSH server when logging in to the SSH server for the first time.
After the first login, the SSH client automatically saves the RSA, DSA, SM2 or ECC public key for subsequent login authentication.
Perform the following steps on the device that functions as an SSH client:
The system view is displayed.
First login is enabled on the SSH client.
The configuration is committed.