当我们用 ssh 连接到一个新服务器时,ssh 会让我们确认服务器的信息(IP/domain-name, public key),确认了之后就会被写到 known_hosts 里。
~/GitHub/project-name(master) » git pushTheauthenticityofhost'github.com (x.x.x.x)'can't be established.ECDSA key fingerprint is SHA256:p2...c98/R1...u3/Li...M.Are you sure you want to continue connecting (yes/no/[fingerprint])? yesWarning: Permanently added 'github.com,x.x.x.x' (ECDSA) to the list of known hosts.