push 도중 경고 메시지가 떴다.
The authenticity of host 'github.com (20.200.245.247)' can't be established.
ED25519 key fingerprint is SHA256:~.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
에러 메시지
SSH 연결 시 GitHub 서버의 신원을 확인할 수 없다는 뜻으로 처음 연결하거나, 호스트 키가 변경된 경우 발생한다.
계속 연결할 것인지 여부를 묻는다.
여기서 YES
를 입력했더니 경고가 떴다.
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
Connection reset by 20.200.245.247 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
그런데..
fatal: Could not read from remote repository:
git remote update
git push --force --set-upstream origin main
push
정상적으로 push 됐다.