How to compare RSA fingerprint while connecting a device to Management Center
search cancel

How to compare RSA fingerprint while connecting a device to Management Center

book

Article ID: 253240

calendar_today

Updated On:

Products

Management Center - VA

Issue/Introduction

Management Center while adding ta device presents the RSA fingerprint form the key used for the SSH connection. The question is how to check if the Shown Fingerprint is for the actual added device by checking the SSH key 

Cause

Management Center is only presenting the RSA fingerprint which can be generated from the SSH Key

Resolution

Through using the two tools ssh-keyscan and ssh-keygen the SSH key can be downloaded to a file and converted to the RSA fingerprint


C:\Users\testuser\Desktop>ssh-keyscan 10.xxx.xxx.xxx > key.txt        ==> Replace 10.xxx.xxx.xxx with device IP

# 10.0.80.40:22 SSH-2.0-OpenSSH_8.3
# 10.0.80.40:22 SSH-2.0-OpenSSH_8.3
# 10.0.80.40:22 SSH-2.0-OpenSSH_8.3

C:\Users\testuser\Desktop>ssh-keygen -lf key.txt
2048 SHA256:C5MlLciObtgK4UVYbwr+quFqBsfkkEV... 10.xxx.xxx.xxx (RSA)