Adding New Host Keys for SSH Access and SFTP

With SmartServer release 4.2 and higher, when you re-image the SmartServer and try to connect to the SmartServer using SSH or SFTP, a warning message will appear letting you know that the system with which you are trying to connect is known to your system, but that the fingerprint has changed. A new host key needs to be added to the system for SSH access. The process for adding the new host key is different depending on whether you are trying to connect using a Windows PC or an Apple Mac. This section describes both platforms and consists of the following:

Using a Windows PC

If you are using a Windows PC (PuTTY), a warning message similar to the following will appear when you access the SmartServer using SSH:



Click Yes to update PuTTY's cache with the new key fingerprint and continue logging into the SmartServer.

Using an Apple Mac

If you are using an Apple Mac, a warning message similar to the following will appear when you access the SmartServer using SSH:

Follow the steps below:

  1. At the $ prompt, enter the following command to remove the fingerprinting from the known_hosts file:

    ssh-keygen -R <SmartServer IP address> or <SmartServer hostname>
    Example
    ssh-keygen -R 10.0.1.8
  2. Connect to the SmartServer again using SSH, for example:

    ssh apollo@10.0.1.8


    The following prompt appears:

    Are you sure you want to continue connecting (yes/no/[fingerprint])? 
  3. Enter yes and press return.

  4. Continue logging into the SmartServer by entering the password when prompted.

An example summary of these steps is shown in the figure below: