This document describes how to use key fingerprints for code repository authentication. This ensures that the connected remote repository is a genuine CODING repository.
Open Project
1. Log in to the CODING Console and click the team domain name to go to CODING.
2. Click in the upper-right corner to open the project list page and click a project icon to open the corresponding project. 3. In the menu on the left, select Code Repositories.
4. If Code Repositories is not shown on the left, the project admin needs to go to Project Settings > Projects and Members > Functions to enable the relevant function.
Function Overview
Code security is always essential. To ensure that the remote repository you are connecting to is an authentic CODING code repository, SSH key fingerprints are now provided for authentication. You simply need to run the command locally and verify the returned result to determine the authenticity of the remote repository.
Verify SHA256 Fingerprint
View the e.coding.net
SHA256 fingerprint in the local .ssh/know_hosts
file. If the return value is jok3FH7q5LJ6qvE7iPNehBgXRw51ErE77S0Dn+Vg/Ik
, this indicates you have connected to the correct CODING server. You can view the result of the command on the terminal.
ssh-keygen -lf ~/.ssh/known_hosts
Verify MD5 Fingerprint
View the e.coding.net
MD5 fingerprint in the local .ssh/know_hosts
file. If the return value is 98:ab:2b:30:60:00:82:86:bb:85:db:87:22:c4:4f:b1
, this indicates you have connected to the correct CODING server. You can view the result of the command on the terminal.
ssh-keygen -E md5 -lf ~/.ssh/known_hosts
Was this page helpful?